ExamVeda
Login
Home
11
Which operator is used to access a union member when the union is a part of a structure?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
12
What happens when you assign a value to one member of a union and then access another member in C?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
13
Which keyword is used to define an anonymous structure or union within another structure or union?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
14
In a union, which member can you access safely after assigning a value to one of its members?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
15
Which type of variable should you use if you want to store different types of data at different times within the same memory location?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
16
Which of the following is true about the memory allocation of structures and unions in C?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
17
In C, can a structure be passed as an argument to a function?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
18
What is the purpose of using a typedef with structures and unions in C?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
19
When should you use a structure instead of an array in C?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
20
What is the purpose of an anonymous union in C?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board