void main()
{
int a=1;
while(a++<=1)
while(a++<=2);
}

Answer Posted / dheerendra

it gives error,
because any loop can't be terminated by ';'

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare variable anywhere in c?

547


Explain that why C is procedural?

664


What is the use of sizeof?

563


What are the types of c language?

566


How can I remove the leading spaces from a string?

644






Write a code to determine the total number of stops an elevator would take to serve N number of people.

739


What are the different types of endless loops?

633


What are called c variables?

582


How can I call fortran?

651


What is a built-in function in C?

807


Can we declare function inside main?

574


how to find anagram without using string functions using only loops in c programming

2724


Difference between malloc() and calloc() function?

662


What is page thrashing?

659


Can we change the value of constant variable in c?

582