#include<stdio.h>
enum day
{
a,b,c=5,d,e
};
main()
{
printf("Enter the value for a");
scanf("%d",a);
printf("%d",a);
}
a) 2
b) 0
c) 3
d) Error
What will be the output of the following C code if input given is 2?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C code if input given is 2?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!