-
What will be the output of the following C code?
#include <stdio.h>
struct Option
{
int a;
int b;
};
void fun(struct Option*);
int main()
{
struct Option opt1[] = {13, 23, 33, 43};
fun(opt1);
}
void fun(struct Option opt2[])
{
printf("%d\n", opt2[1].a);
}
-
- 13
- 23
- 33
- 43
- None of these
Correct Option: C
33