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
Write a C program to count the number of email on text
what is the diffrenet bettwen HTTP and internet protocol
What is the benefit of using #define to declare a constant?
How do you redirect a standard stream?
Differentiate between calloc and malloc.
Explain modulus operator.
What is c mainly used for?
What are register variables in c?
given post order,in order construct the corresponding binary tree
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.
Explain how can a program be made to print the line number where an error occurs?
will u please send me the placement papers to my mail???????????????????
Write the syntax and purpose of a switch statement in C.
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
What is use of pointer?