Examveda

What will be the output of the following C code?
#include <stdio.h>
void main()
{
    int a = 2 + 3 - 4 + 8 -  5 % 4;
    printf("%d\n", a);
}

A. 0

B. 8

C. 11

D. 9

Answer: Option B


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals