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
if p is a string contained in a string?
What does #pragma once mean?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Why c is faster than c++?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
How can I read in an object file and jump to locations in it?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is extern variable in c with example?
What is external variable in c?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is the use of header?
How many types of operators are there in c?
How are 16- and 32-bit numbers stored?
Why do we use & in c?
Can we change the value of static variable in c?