Top

Discussion

#include 

typedef enum{
    Male=-1, Female
}SEX;

int main()
{
  SEX var = Male;
  SEX var1 = Female;
  printf("%d %d",var, var1);
  return 0;

}

 

  • A.-1 0
  • B.-1 -2
  • C.-1 -1
  • D.Compilation Error

Answer: A

No answer description available for this que

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

Post your comment