Vidyalelo
C Programming · Q161

Structure and Union

Programming · C Programming · question 161

Q161

Which of the following is an incorrect syntax to pass by reference a member of a structure in a function? (Assume: struct tempint a;s;)

A.
func(&s.a);
B.
func(&(s).a);
C.
func(&(s.a));
D.
none of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board