1.

What will be the output of the following C code?
#include <stdio.h>
int multiply(int p, int q, int r)
{
return p * q * r;
}
void main()
{
int (*fun_ptr)(int, int, int);
fun_ptr = multiply;
printf("The multiplication of given numbers is : %d",
fun_ptr(12, 2, 5));
}

A. Compilation Error
B. Nothing
C. The multiplication of given numbers is : 120
D. Garbage value
E. None of these
Answer» D. Garbage value


Discussion

No Comment Found