Just C the potential of the space in the following C Program:
(Try removing the space before %c in scanf)
#include
int main()
{
char c;
scanf("%c",&c);
printf("%c\n",c);
scanf(" %c",&c);
printf("%c\n",c);
return 0;
}
A Collection Of Weird and Interesting C Programs by Balaji
Monday, July 9, 2007
Interesting C Program -8
Posted by
Balaji V
at
10:45 AM
Labels: INTERESTING C PROGRAMS
Subscribe to:
Post Comments (Atom)







0 comments:
Post a Comment