What is the output of this C code?
#include
enum birds {SPARROW, PEACOCK, PARROT};
enum animals {TIGER = 8, LION, RABBIT, ZEBRA};
int main()
{
enum birds m = TIGER;
int k;
k = m;
printf(“%dn”, k);
return 0;
}
a) 0
b) Compile time error
c) 1
d) 8
PLACE THIS ORDER OR A SIMILAR ORDER WITH MY ONLINE PROFESSOR TODAY AND GET AN AMAZING DISCOUNT
The post What is the output of this C code? appeared first on MY ONLINE PROFESSOR .