+ 1
When I Run a Program below, Output is Nothing. Why?
#include<stdio.h> int main() { int count=0; printf("%c",count); return 0; }
4 Answers
+ 3
The output is a character (%c) with value zero, which corresponds to NULL. So the output is probably NULL, not nothing.
Try changing 0 to 48, for example.
+ 4
%d
%c is for character. For integer, %d should be used.
https://code.sololearn.com/cL4nF8g4Iuhx/?ref=app
+ 1
Emerson Prado Thanx Sir For Giving Explanation! I assign 48 to count variable in our Program, It get output as '0'. I understand.
Again Thanx!
+ 1
Gordon Thanx Bro!