0
what is wrong with this code?c++ basic char concept
#include <stdio.h> int main() { char s='c'; printf("%c",&s); return 0; } and why these tags get any position like i have write wrong output giving but after posting it it become output wrong giving?
3 Answers
+ 7
printf statement should be:
printf("%c", s);
& is used while taking input using scanf.
+ 1
thanks
0
confusing