Examveda

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

A. 7, 4

B. 7, 2

C. 5, 2

D. Syntax error

Answer: Option D


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals