Vidyalelo
C Programming · Q49

Structure and Union

Programming · C Programming · question 49

Q49

What is the correct syntax to declare a function foo() which receives an array of structure in function?

A.
void foo(struct *var);
Answer
B.
void foo(struct *var[]);
C.
void foo(struct var);
D.
none of the mentioned

Answer: Option A

Solution

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