BCA - C Looping Statements
Questions No: 1/14

What will be the output of following program?

int main() 
{
  for(int c=1;c<5;++c); 
printf(“%d”,c); 
}

Questions No: 2/14

Which of the following is not an iterative statement?
निम्नलिखित में से कौन एक पुनरावृत्त कथन नहीं है?

Questions No: 3/14

Which of the following is the correct syntax for a for loop in C?

Questions No: 4/14

What is the final value of x when the code is executed?

int x; 
for(x=0; x<10; x++) 
{} 

Questions No: 5/14

Which of the following loops in C is guaranteed to execute at least once?

Questions No: 6/14

The following code ‘for(;;)’ represents an infinite loop. It can be terminated by.
निम्नलिखित कोड for(;;) के लिए अनंत लूप का प्रतिनिधित्व करता है। द्वारा इसे समाप्त किया जा सकता है।

Questions No: 7/14

A programming construct in which a set of statement in a computer program can be executed repeatedly.
एक प्रोग्रामिंग निर्माण जिसमें कंप्यूटर प्रोग्राम में स्टेटमेंट का एक सेट बार-बार निष्पादित किया जा सकता है।

Questions No: 8/14

Which code will print k 20 times?
20 बार कौन सा कोड k प्रिंट होगा?

Questions No: 9/14

The do..while looping statement

Questions No: 10/14

Which of the following is an exit controlled loop?

Questions No: 11/14

Which of the following loops in C is guaranteed to execute at least once?
C में निम्नलिखित में से कौन सा लूप कम से कम एक बार निष्पादित होने की गारंटी है?

Questions No: 12/14

How many times will the following loop execute?

int j;
for(j = 1; j <= 10; j = j-1)
printf("INFOMAX");

Questions No: 13/14

How many times is a do while loop guaranteed to loop?
लूप को लूप की गारंटी देते समय कितनी बार किया जाता है?

Questions No: 14/14

The do…while looping statement