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
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is file in c language?
How will you delete a node in DLL?
What is #line used for?
Write a program of prime number using recursion.
What is the easiest sorting method to use?
Explain what does a function declared as pascal do differently?
What is the scope of an external variable in c?
What are logical errors and how does it differ from syntax errors?
State two uses of pointers in C?
What are multibyte characters?
Explain what is the difference between a free-standing and a hosted environment?
Do you have any idea how to compare array with pointer in c?
Why is sizeof () an operator and not a function?
Is a house a mass structure?