53.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int i = 0;
    for (i++; i == 1; i = 2)
        printf("In for loop ");
        printf("After loop\n");
}

55.
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    int i = 0;
    int j = 0;
    for (i = 0;i < 5; i++)
    {
        for (j = 0;j < 4; j++)
        {
            if (i > 1)
                continue;
                printf("Hi \n");
        }
    }
}

Read More Section(Control Structures)

Each Section contains maximum 100 MCQs question on Control Structures. To get more questions visit other sections.