?
What will be the output of the following C code?
What will be the output of the following C code?
#include<stdio.h>
enum colour
{
blue, red, yellow
};
main()
{
enum colour c;
c=yellow;
printf("%d",c);
}
#include<stdio.h>
enum colour
{
blue, red, yellow
};
main()
{
enum colour c;
c=yellow;
printf("%d",c);
}
Join the Discussion
Login to post a comment or share your explanation.
Login