1.

What will be the output of the following C code?
#include <stdio.h>
void fun();
int main()
{
#define calc(p, q) p / q + p
fun();
}
void fun()
{
printf("%d n", calc(-10, 10));
}

A. -11
B. -10
C. Runtime Error
D. Compilation Error
E. None of these
Answer» B. -10


Discussion

No Comment Found

Related MCQs