What will be the output of the following C code?

#include
enum test
 {
    a,b=99,c,d=-1
 };
 main()
 {
    enum test m;
    printf("%d\n%d\n%d\n%d\n",a,b,c,d); 
 }

1

1
99
100
-1

2
0
99
100
​-1
3

0
1
2
3

4
Error

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation