6/18/2017 5:42:06 PM
Ritesh Behera7 Answers
New Answerint main(). void main() might not even work for all compilers. It's also a standard for C, so there's really no point in getting into the habbit of making it void.
Good practicies: int main returns 0 which informs us that program ran successfully ^^ void main returns nothing so we cannot acknowledge if program had error during runtime or not (assuming the error log is off)
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message