Programming Languages C Objective
Mar 09, 2013

Consider on following declaring of enum.
(i)  enum  cricket {Gambhir,Smith,Sehwag}c;
(ii) enum  cricket {Gambhir,Smith,Sehwag};
(iii)enum  {Gambhir,Smith=-5,Sehwag}c;
(iv) enum  c {Gambhir,Smith,Sehwag};
Choose correct one:

Choose the correct answer:
A) Only (i) is correct declaration
B) Only (i) and (ii) are correct declaration
C) Only (i) and (iii) are correct declaration
D) All four are correct declaration
Detailed Explanation

No Explanation

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback