tgoop.com/gate_cse3/4693
Create:
Last Update:
Last Update:
What will be the output of the following C code?
#include <stdio.h>
#define foo(x, y) x / y + x
int main()
{
int i = -6, j = 3;
printf("%d\n",foo(i + j, 3));
return 0;
}
a) Divided by zero exception
b) Compile time error
c) -8
d) -4
BY Computer Science quiz
Share with your friend now:
tgoop.com/gate_cse3/4693