a=0;
while(a<5)
printf("%d\n",a++);
how many times does the loop occurs?
a.infinite
b.5
c.4
d.6

Answer Posted / ankit rastogi

ans should be (a)infinite
bcoz every time a will be initialize with 0......
and increment values are displayed
a=1
a=2
a=3
a=4...................upto infinity......

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#include { printf("Hello"); } how compile time affects when we add additional header file .

1425


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1675


What is a loop?

557


How do we make a global variable accessible across files? Explain the extern keyword?

1423


how many errors in c explain deply

1632






Can a void pointer point to a function?

574


Can we add pointers together?

621


How are strings stored in c?

596


What does %2f mean in c?

676


plz let me know how to become a telecom protocol tester. thank you.

1743


What is a constant?

636


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1662


What is meant by high-order and low-order bytes?

656


What is a static function in c?

624


Why c is known as a mother language?

647