A
Q. What will be the output of the following code snippet?
Code:
#include <stdio.h>
#define CUBE(x) x * x * x
void solve() {
int ans = 216 / CUBE(3);
printf("%d", ans);
}
int main() {
solve();
return 0;
}
#define CUBE(x) x * x * x
void solve() {
int ans = 216 / CUBE(3);
printf("%d", ans);
}
int main() {
solve();
return 0;
}
- Correct Answer - Option(B)
- Views: 23
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.