What is output of the following snippet

#include stdio.h
#define VAL 3 * (2 + 6)
void solve() {
int a = 10 + VAL;
printf("%d", a);
}
int main() {
solve();
return 0;
}
A)104
B)24
C)10
D)34

Posted on by