0
can I use char as a variable in the if statement?
7 Answers
+ 4
Of course.
char c = 'c';
if (c == 'c')
{
//is c
}
else
{
//is not c
}
+ 2
of course.....you can.
Cohen craber has illustrated it nicely with the example.
+ 1
yes ! you can use it
0
yes definatly! !
0
yes,my dear
you can use it any no. of times
0
yes u can. It depend upon the situation
0
Yes