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;)

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;)
A. func(&s.a);
B. func(&(s).a);
C. func(&(s.a));
D. none of the mentioned
 

Tìm kiếm

Back
Top