Vidyalelo
C Programming · Q188

Pointer

Programming · C Programming · question 188

Q188

What will be the output of the following C code? #include void m(int p) printf("%d ", p); void main() int a = 6, b = 5; m(a, b); printf("%d %d ", a, b);

A.
6
B.
6 5
C.
6 junk value
D.
Compile time error
Answer

Answer: Option D

Solution

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