Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int a = 0, i = 0, b;
    for (i = 0;i < 5; i++)
    {
        a++;
        if (i == 3)
            break;
    }
}

A. 1

B. 2

C. 3

D. 4

Answer: Option D


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures