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 / guest
b
| Is This Answer Correct ? | 20 Yes | 5 No |
Post New Answer View All Answers
Differentiate between a for loop and a while loop? What are it uses?
Write a code to remove duplicates in a string.
Explain how can I make sure that my program is the only one accessing a file?
How do you redirect a standard stream?
How can I ensure that integer arithmetic doesnt overflow?
What is the use of getchar functions?
What is a pointer in c plus plus?
What is new line escape sequence?
What are the differences between Structures and Arrays?
What are the types of c language?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
If fflush wont work, what can I use to flush input?
What is pass by reference in functions?
What is property type c?
What is array in c with example?