Yes / No Questions

Question 6 :

Is there easy way to print enumeration values symbolically?


A). Yes
B). No
Answer : Option B

Explanation :

You can write a function of your own to map an enumeration constant to a string.


Question 7 :

By default structure variable will be of auto storage class


A). Yes
B). No
Answer : Option A

Question 8 :

Is it necessary that the size of all elements in a union should be same?


A). Yes
B). No
Answer : Option B

Question 9 :

Can we have an array of bit fields?


A). Yes
B). No
Answer : Option B

Question 10 :

Will the following declaration work?

typedef struct s
{
    int a;
    float b;
}s;


A). Yes
B). No
Answer : Option A