What is the output of the following C program?
#include <stdio.h>
#define SQR(x) (x*x)
int main()
{
int a;
int b = 4;
a = SQR(b + 2);
printf("%d \n", a);
return 0;
}
Create a FREE account and get:
CAT Averages, Ratios & Proportions
CAT Logarithms, Surds & Indices