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
Where we use clrscr in c?
What is array in c with example?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
If errno contains a nonzero number, is there an error?
What is a newline escape sequence?
How can you find the exact size of a data type in c?
What is meant by 'bit masking'?
What is hashing in c language?
What does #pragma once mean?
What is difference between class and structure?
What will be the outcome of the following conditional statement if the value of variable s is 10?
Are negative numbers true in c?
What is optimization in c?
How can you increase the size of a dynamically allocated array?