Question
#include<stdio.h>
int main()
{
int i = 0;
while(i <= 255)
{
printf("%d", i);
i++;
}
return 0;
}
a.
1 Time
b.
255 Times
c.
Infinite Times
d.
256 Times
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. How many times loop will get executed ?
Similar Questions
Discover Related MCQs
Q. Nesting of if-else statements is allowed in C Programming.
View solution
Q. A char variable storing either an ASCII character or a Unicode character is allowed inside switch case.
View solution
Q. We cannot use String in the Switch case as label !
View solution
Q. Which of the following cannot be checked in a switch case statement ?
View solution
Q. Continue statement is allowed inside the switch case statement ?
View solution
Q. Which of the statement we need to write , in order to check any condition.
View solution
Q. Which of the following is not an example of looping statement ?
View solution
Q. For loop is _________.
View solution
Q.
What are the types of linkages?
View solution
Q. Which of the following special symbol allowed in a variable name?
View solution
Q. "C"was primarily developed as a
View solution
Q. "C" is a
View solution
Q. Most suitable option for “C” literal is:
View solution
Q. Length of the string “Correct” is
View solution
Q. Choose the correct statement:
View solution
Q. The “const” feature can be applied to
View solution
Q. Pick the operator that associate from the left
View solution
Q. Choose the correct statement form given options:
View solution
Q. Pick the operator that associate from the right
View solution
Q. Which of the following comments about the “++” operator are correct?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!