Vidyalelo
C Programming · Q119

Pointer

Programming · C Programming · question 119

Q119

What will be the output of the following C code? #include int main() int ary[4] = 1, 2, 3, 4; printf("%d ", *ary);

A.
1
Answer
B.
Compile time error
C.
Some garbage value
D.
Undefined variable

Answer: Option A

Solution

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