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 / vikram
the output will be:
0
1
2
3
4
hence the loop will be executed 5 times,hence the answer is b
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
Can you pass an entire structure to functions?
define string ?
Tell me about low level programming languages.
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Why is c not oop?
What are the 4 types of programming language?
What is meant by type specifiers?
What is pre-emptive data structure and explain it with example?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
Difference between constant pointer and pointer to a constant.
Write program to remove duplicate in an array?
Why is c fast?
What is the difference between mpi and openmp?
What are compound statements?
explain how do you use macro?