Hello world program execution

what if i write return 1 or 2 or 3 or 4 instead of return 0??? how will it effect program execution.

@Anku47, When you return 0 or return EXIT_SUCCESS , you tell the caller (OS in case of main) that the status of your program was successful and it could do what it was supposed to do.
in stdlib you can find the definition ,
#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1

if you return some other value it may give some other indication like failure during execution to the caller .So ,it would be wise to return 0 as return value