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
What is the use of void pointer and null pointer in c language?
Do you know the difference between malloc() and calloc() function?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
Explain the priority queues?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
What’s a signal? Explain what do I use signals for?
Write a program to check whether a number is prime or not using c?
What is the use of f in c?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
Explain how does flowchart help in writing a program?
What is c language & why it is used?
Write a program to reverse a linked list in c.
What are header files in c programming?
what type of questions arrive in interview over c programming?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?