Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    enum {ORANGE = 5, MANGO, BANANA = 4, PEACH};
    printf("PEACH = %d\n", PEACH);
}

A. PEACH = 3

B. PEACH = 4

C. PEACH = 5

D. PEACH = 6

Answer: Option C


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals