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

Do you know the difference between malloc() and calloc() function?

616


What's a good way to check for "close enough" floating-point equality?

629


Write a c program to demonstrate character and string constants?

1685


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1122


Why main is used in c?

590






How can I split up a string into whitespace-separated fields?

572


What the different types of arrays in c?

614


What is the difference between abs() and fabs() functions?

608


Explain Function Pointer?

681


What does s c mean on snapchat?

589


Why dont c comments nest?

623


Is there a way to compare two structure variables?

617


What are run-time errors?

600


Difference between constant pointer and pointer to a constant.

614


What is the use of function in c?

715