Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int a = 10, b = 5, c = 5;
    int d;
    d = a == (b + c);
    printf("%d", d);
}

A. Syntax error

B. 1

C. 10

D. 5

Answer: Option B


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals