how to use character for output?

Member Avatar

Be clear with your question.


where x is any character variable which is defined like this :

char x;

hope it helps!! thanks.

With reference to ur query,
int main()
char ch='a';
return 0;
as u said use character for output.
here ch is a variable.
a is stored in ch variable.
ch is holding the result of a.
that variable is used as input for printing data on console.