Examveda

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

Answer: Option D


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union