Q. | What is the output of this C code? #include
struct point
{
int x;
int y;
};
void foo(struct point*);
int main()
{
struct point p1[] = {1, 2, 3, 4};
foo(p1);
}
void foo(struct point p[])
{
printf("%d\n", p[1].x);
}
|
|||||||
|
Answer: | Option B | |
Explaination: | No Explanation |
Discussion
Your Comments Goes here... |
Name | Discussion |
---|