Vidyalelo
C Programming · Q152

Pointer

Programming · C Programming · question 152

Q152

What will be the output of the following C code? #include void f(int); void (*foo)(float) = f; int main() foo(10); void f(int i) printf("%d ", i);

A.
Compile time error
B.
10
C.
10.000000
D.
Undefined behaviour
Answer

Answer: Option D

Solution

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