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
What is variable in c example?
What is non linear data structure in c?
What are dangling pointers? How are dangling pointers different from memory leaks?
What is new line escape sequence?
What is extern keyword in c?
How do shell structures work?
What are identifiers in c?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What functions are used for dynamic memory allocation in c language?
How can you increase the size of a statically allocated array?
When should you not use a type cast?
What is the difference between a string and an array?
What is linear search?
I have a varargs function which accepts a float parameter?
What is an auto variable in c?