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 / stuti
1
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Do variables need to be initialized?
What are the different data types in C?
What are the Advantages of using macro
What is typedef struct in c?
How was c created?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What is wild pointer in c?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is the benefit of using #define to declare a constant?
What is the process to generate random numbers in c programming language?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Can you subtract pointers from each other? Why would you?
What’s a signal? Explain what do I use signals for?
How can I do serial ("comm") port I/O?
What is the explanation for the dangling pointer in c?