Top

Discussion

What will be the output of the following C code?

#include
enum colour
{
    blue, red, yellow
};
main()
{
    enum colour c;
    c=yellow;
    printf("%d",c);
}

 

  • A.1
  • B.2
  • C.Error

Answer:

No comment is present. Be the first to comment.
Loading…

Post your comment