What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
Answer Posted / rekha
It will print 0 to 127
Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
Explain what is the benefit of using const for declaring constants?
How can you call a function, given its name as a string?
How do I use void main?
Explain what is meant by 'bit masking'?
What does main () mean in c?
What is multidimensional arrays
What are the 3 types of structures?
Is c object oriented?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Tell us something about keyword 'auto'.
What is the advantage of using #define to declare a constant?
What is difference between far and near pointers?
List the different types of c tokens?
I heard that you have to include stdio.h before calling printf. Why?
Where does the name "C" come from, anyway?