Advertisements

Search results for continue

Example:[1]

            What is the output of the following c program?
#include <stdio.h>
int main()
{
	int j;
	for(j = 0;j <= 8;j++)
	{
		if (j==4)
	    {
			continue;
	    }
		printf("%d",j);
	}
	return 0;
}
          
Option A:

            012345678
            
Option B:

            0123
            
Option C:

            45678
            
Option D:

            01235678
            
Correct Answer: option D

 Search Links


 Popular C search MCQs


 Popular C search examples