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 / tasneemuddin
It will print no from 0 to 32767.
Like :
0
1
2
3
.
.
.
.
32767
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
Explain high-order bytes.
How can I prevent another program from modifying part of a file that I am modifying?
what are # pragma staments?
How do you list a file’s date and time?
Is c compiled or interpreted?
What does c value mean?
What is assignment operator?
What is typeof in c?
What is null pointer in c?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
Where are the auto variables stored?
What is putchar() function?
Write a function that will take in a phone number and output all possible alphabetical combinations
What are the primitive data types in c?
What is the process to generate random numbers in c programming language?