Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);
No. of times the loop is executed ?
Answer Posted / sundeep
First of all the code returns compile time error....bcoz
of "c++2",and c!=256 becoz unsigned char takes just 255
bytes..........and exceeding that results in compile time
error........
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
how to find anagram without using string functions using only loops in c programming
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What is #error and use of it?
what are bit fields? What is the use of bit fields in a structure declaration?
What are the valid places to have keyword “break”?
Combinations of fibanocci prime series
What are the advantage of c language?
What happens if a header file is included twice?
How can I do graphics in c?
What are the properties of union in c?
What is c token?
Explain modulus operator. What are the restrictions of a modulus operator?
Explain what are the different data types in c?
What is the newline escape sequence?
What is dynamic dispatch in c++?