Saturday, 13 April 2019

void main() Vs. int main(): main is a function with a special characteristic that the program execution always start from main. So the function main needs arguments and a return type. These int and void are its return type. Void means it will not return any value, which is also okay.

No comments:

Post a Comment