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
Why main is used in c?
What is the benefit of using const for declaring constants?
Explain the ternary tree?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
a value that does not change during program execution a) variabe b) argument c) parameter d) none
How are strings stored in c?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What is the use of extern in c?
Where is volatile variable stored?
What are # preprocessor operator in c?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
c program to compute AREA under integral
What is declaration and definition in c?
Write a program to know whether the input number is an armstrong number.