what will be the output of this program
main()
{
int i=1;
while (i<=10);
{
i++;
}
}
Answer Posted / srikanth karnati
there is no output because there is no out statment
there.if write printf("%d",i);at out side the loop the
output will be 11.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the scope of static variable in c?
What is difference between class and structure?
Differentiate between ordinary variable and pointer in c.
What is self-referential structure in c programming?
What is the use of sizeof?
What is the function of volatile in c language?
What is masking?
What is unary operator?
What type of function is main ()?
Why main is used in c?
What is calloc in c?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
When the macros gets expanded?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
How can I dynamically allocate arrays?