Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);
No. of times the loop is executed ?
Answer Posted / subbu
instead of "c++2" if there is "c++" it will not give any
errors. output will be continuosly for infinite number of
times.
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
Here is a good puzzle: how do you write a program which produces its own source code as output?
I have seen function declarations that look like this
Explain the difference between structs and unions in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
How can a process change an environment variable in its caller?
Describe the difference between = and == symbols in c programming?
How can I recover the file name given an open stream or file descriptor?
plz let me know how to become a telecom protocol tester. thank you.
What is auto keyword in c?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Is main is a keyword in c?
What is the difference between single charater constant and string constant?
can anyone suggest some site name..where i can get some good data structure puzzles???
Write a program to print “hello world” without using semicolon?