Question:What will be output if you will compile and execute the following c code?


#include<stdio.h>
int main(){
  enum xxx{
     a,b,c=32767,d,e
  };
  printf("%d",b);
  return 0;

A 0 

B 1 

C 32766 

D Compiler error 

E None 

+ Answer
+ Report
Total Preview: 1187

Copyright © 2024. Powered by Intellect Software Ltd