C Programming - Structures, Unions, Enums - Discussion

Discussion Forum : Structures, Unions, Enums - True / False Questions (Q.No. 6)
6.
Which of the following statement is True?
User has to explicitly define the numeric value of enumerations
User has a control over the size of enumeration variables.
Enumeration can have an effect local to the block, if desired
Enumerations have a global effect throughout the file.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
12 comments Page 2 of 2.

Asis said:   7 years ago
Size of enum must be equal with sizeof(int) on your compiler/machine.

Shubha said:   5 years ago
@Kavitha.

Nice explanation.


Post your comments here:

Your comments will be displayed after verification.