I'm looking for some solution in returning values in main function, I need to shorten my program more, return 0
takes too much characters of my code, I need to return 0, or my code fails. I know that in C there can be no return
statement, and then program will use result of last operation - but on which operations I can 'really' shorten my code?
At the moment I found brk(0)
as shortest return.
main(n){while(~scanf("%i",&n))printf("%i ",n*~n/-2);brk(0);}
main
return 0? \$\endgroup\$n
be 0? Does extra whitespace invalidate the answer? \$\endgroup\$