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
Can you subtract pointers from each other? Why would you?
What is the 'named constructor idiom'?
What is the difference between union and structure in c?
Why pointers are used?
what is the difference between class and unio?
How do I copy files?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Is null always defined as 0(zero)?
What is a function simple definition?
What are the disadvantages of external storage class?
What does emoji p mean?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Write a program to swap two numbers without using third variable in c?
what are the 10 different models of writing an addition program in C language?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.