?
What will be the output of the following C code if input given is 2?
What will be the output of the following C code if input given is 2?
#include<stdio.h>
enum day
{
a,b,c=5,d,e
};
main()
{
printf("Enter the value for a");
scanf("%d",a);
printf("%d",a);
}
#include<stdio.h>
enum day
{
a,b,c=5,d,e
};
main()
{
printf("Enter the value for a");
scanf("%d",a);
printf("%d",a);
}
Join the Discussion
Login to post a comment or share your explanation.
Login