Question 2
Back to Exercise
Which declaration is invalid?
- A typedef unsigned int uint;
- B typedef static int sint; Correct
- C typedef int Row[4];
- D typedef int (*Fn)(void);
Correct Answer: Option B
Grammatically, typedef is a storage-class specifier, like static and extern, and a declaration may contain only one of them.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!