Which of the following is an incorrect syntax to pass by reference a member of a structure in a function?
(Assume: struct temp{int a;}s;)
(Assume: struct temp{int a;}s;)A. func(&s.a);
B. func(&(s).a);
C. func(&(s.a));
D. none of the mentioned
Answer: Option D
Related Questions on Structure and Union
Which of the following can be a member of a structure?
A. Function
B. Another structure
C. Enumeration
D. All of the above

Join The Discussion