1.

What will be the output of the following C code?
#include <stdio.h>
int calc(int m, int n, int t)
{
return m * n * t;
}
void main()
{
int *fun_ptr;
fun_ptr = calc;
printf("The product of three numbers is : %d",
fun_ptr(12, 10, 2));
}

A. Nothing
B. Compilation Error
C. Garbage value
D. The product of three numbers is : 240
E. None of these
Answer» C. Garbage value


Discussion

No Comment Found