User forums > Help

Process terminated with status 12 (0 minutes, 7 seconds)

(1/1)

srikanth:
I got this message when I built and ran Hello World program in C. What does it mean?

Jenna:
That your Hello world program has 12 as return-value !

Folco:
(:D)

Look at that man page srikanth, you should understand : http://man7.org/linux/man-pages/man3/sprintf.3.html

srikanth:
Ok had it sorted out. Forgot to type int main(void) and include return 0; in the body of the main function.

Navigation

[0] Message Index

Go to full version