What will be the output of the following code snippet?
#include stdio.h
#define VAL 5
int getInput() {
return VAL;
}
void solve() {
const int x = getInput();
printf("%d", x);
}
int main() {
solve();
return 0;
}

Posted on by