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

Answer Posted / venkatapradeep774

ans:5...i need an explaination for this tat how it will be 5.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I write a function analogous to scanf?

660


How do you construct an increment statement or decrement statement in C?

746


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

686


What is meant by 'bit masking'?

888


When should a far pointer be used?

605






What does %p mean c?

633


What is the use of ?: Operator?

670


Why isn't any of this standardized in c? Any real program has to do some of these things.

627


Explain what is the difference between a string and an array?

640


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1866


Can we access the array using a pointer in c language?

564


Why do we use static in c?

634


how can f be used for both float and double arguments in printf? Are not they different types?

610


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1469


What does int main () mean?

553