What will be the output to the following c code?
int main() { int a=10,b=20,c=30; printf("%d %d %d"); return 0; }
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
A simple trip to an online C compiler will answer this question, delivering values which fall far outside of {10, 20, 30}. Further searching Stack Overflow, this link can be found which says that whatever value resides in the
esi
register when the function is called will be pulled and printed.