#include <stdio.h> enum birds {SPARROW, PEACOCK, PARROT}; enum animals {TIGER = 8, LION, RABBIT, ZEBRA}; int main() { enum birds m = TIGER; int k; k = m; printf("%d\n", k); return 0; }
a) 0
b) Compile time error
c) 1
d) 8
What will be the output of the following C function?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C function?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!