Q145
What will be the output of the following C code? #include int main() int ary[4] = 1, 2, 3, 4; int p[4]; p = ary; printf("%d ", p[1]);
A.
1
B.
Compile time error
AnswerC.
Undefined behaviour
D.
2
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board