-
What will be the output of the following C code?
#include &l;stdio.h>
struct Price
{
int m;
int n;
};
void fun(struct Price*);
int main()
{
struct Price p1[] = {105, 210, 310, 49, 59};
fun(p1);
}
void fun(struct Price p[])
{
printf("%d %d\n", p->m, p[3].n);
}
-
- Garbage value
- Compilation Error
- 105 0
- Nothing
- None of these
Correct Option: C
105 0