What is the output of the following C program? #include <stdio.h> #define…
TCS · 2024
What is the output of the following C program?
#include <stdio.h>
#define prod(a,b) a*b
int main()
{
int x=3,y=4;
printf("%d",prod(x+2,y-1));
return 0;
}- A.
10
- B.
20
- C.
15
- D.
0
Attempted by 312 students.
Sign up free to check your answer
Sign up freeLoading lesson…