a They are b They help the programmer rink our a progm as Wh

a They are b They help the programmer rink our a progm as. Which of folowing encompasses low many times helow for will be int ain() printf(\" ,i) b Infinite d 10

Solution

36. How many times below for loop will be executed?

int main()
{
int i=0;
for( ; ; )
printf(\"%d\",i);
}

Answer:-

B.Infinite.

Explanation:-

In for loop, we can skip Initialization part, Condition part, and Increment/Decrement part but we should keep semicolon before and after condition.

So that here initially i=0 will be executed and then for loop will be continued and continued for Infinite times.

 a They are b They help the programmer rink our a progm as. Which of folowing encompasses low many times helow for will be int ain() printf(\

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site