Examveda

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

A. 10 10

B. 10 9

C. 9 10

D. 8 10

Answer: Option C


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals