Examveda
Examveda

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

A. 5   1

B. 0   3

C. 5   3

D. 1   1

Answer: Option A


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals