Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);
No. of times the loop is executed ?
Answer Posted / shalabh
This will be an infinite loop as the value of unsigned char
cannot exceed 255....c++2 can be errornous..but the value
of unsigned char cannot go beyond 255
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Is main is a keyword in c?
How do I round numbers?
What is structure pointer in c?
How will you delete a node in DLL?
What is a file descriptor in c?
What is the use of c language in real life?
What is volatile keyword in c?
What is modifier & how many types of modifiers available in c?
What is void main () in c?
What is sizeof int?
What is wrong with this program statement?
Is c is a middle level language?
What is s in c?
Simplify the program segment if X = B then C ← true else C ← false
how can f be used for both float and double arguments in printf? Are not they different types?