1.

What will be the output of the following C code?
 #include <stdio.h>
int subtract(int p, int q, int r)
{
return p - q - r;
}
void main()
{
int (*fun_ptr)(int, int, int);
fun_ptr = &subtract;
printf("The Subtraction of three numbers is : %d",
(*fun_ptr)(21, 13, 41));
}

A. Nothing
B. The Subtraction of three numbers is : -33
C. Undefined behaviour
D. Garbage value
E. Compilation Error
Answer» C. Undefined behaviour


Discussion

No Comment Found