C- Typedef Questions and Answers
Practice ModeShowing 10 of 23 questions
Q21
What is typedef struct {int x;} Point; used for?
Answer: Option B
Explanation: Creates Point as type name for the structure
Q22
Can typedef names be the same as existing type names?
Answer: Option B
Explanation: Yes, but not recommended due to confusion
Q23
What is the main benefit of typedef in large projects?
Answer: Option C
Explanation: Improves code readability and maintainability