What will be the value of x in the following code snippet?

#include stdio.h
void solve() {
int x = printf("Hello");
printf(" %d", x);
}
int main() {
solve();
return 0;
}

Posted on by