Hello students welcome to CSE Study247 , Today I am provide MCQs on Loop Control Statement in C.
This page provide 20 Multiple choice question with Answer that is very useful of Computer science students like preparation of many exam Like ( ISRO,DRDO ,Semester, Interview, TCS , Railway & another Government Sector)
❤️ TOP 500+ C Programming Question and Answer
C programming is the basic language of programming that help to learn another language. So this MCQ is very useful for you.
C is a general purpose ,high level language that originally developed by Dennis Ritchie to develop the UNIX operating system at Bell labs.
Q.1 The minimum number of times while loop is executed is ?
Q.2 The minimum number of times do while loop is executed is
Q.3 Which of the following looping statements end with a semi-colon ?
Q.4 Infinite loop is
Q.5 Which is the incorrect statement ?
Q.6 A Typical repetition control structure comprises which of the following parts ?
Q.7 Loop is used to ?
Q.8 Loops in C Language are implemented using?
Q.9 What are statements which result in infinite loop ?
Q.10 Find out the output for the following program
void main()
{
int x=10;
do
{
x++;
}
while (x++>12);
printf(“%d”,x);
}
Q.11 A loop within a loop is called ?
Q.12 Find out the output for the following program
void main()
{
int i;
for (i=0;i<=0;i++);
printf(“%d”,i);
}
Q.13 Find out the output for the following program
void main()
{
int i;
for (i=1;i<=4;i++);
printf(“%d”,i);
}
Q.14 Find out the output for the following program
void main()
{
int i=1;
for (i = 1; i <2 ; i++)
printf(“CSE Study247”);
}
Q.15 Find out the output for the following program
void main()
{
int i=0;
for ( i <4 ; i++)
printf(“CSE Study247”);
}
Q.16 A for loop with the no test condition is known as ?
Q.17 The sentinel controlled loop is also known as ?
Q.18 In counter- controlled loop, variable known as — is used to count the loop operation
Q.19 In an exit – controlled loop,if the body is executed n times, the test condition is evaluated —- times
Q.143 Find out the output for the following program
void main()
{
double i = 0;
for (i = 0.0; i < 5.0; i++);
printf(“%lf”, i);
}
1. Official Telegram | Click Here |
2. Telegram For CSE MCQs | Click Here |
3. You Tube | Click Here |