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 a NULL Pointer? Whether it is same as an uninitialized pointer?
Explain what is the use of a semicolon (;) at the end of every program statement?
In which header file is the null macro defined?
How do you override a defined macro?
What is header file in c?
Can true be a variable name in c?
Is null always equal to 0(zero)?
application attempts to perform an operation?
What is the purpose of main() function?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
What is the use of typedef in c?
I heard that you have to include stdio.h before calling printf. Why?
show how link list can be used to repersent the following polynomial i) 5x+2
How do you construct an increment statement or decrement statement in C?
Can I initialize unions?