'; var adpushup = adpushup || {}; adpushup.que = adpushup.que || []; adpushup.que.push(function() { adpushup.triggerAd(ad_id); });
The return value of main() function shows how the program exited. The normal exit of program is represented by zero return value. If the code has errors, fault etc., it will be terminated by non-zero value.
In C++ language, the main() function can be left without return value. By default, it will return zero.
In the above program, The main function has business logic. There are three variables a, b and c where a holds sun of a and b. the variable c holds sum of c and a. The main function is returning 0.