Post a Reply
|Oldest Newest Rating|
Fayazur Rahman Summit
· April 11, 2015
Thank you sooooo much Franz Schmidt
· April 8, 2015
specifies no arguments for main.
specifies any number of arguments.
· April 7, 2015
because in fact you never do return a value at any time in your main
if i would use int main i would need to return a integer somewhere in the program as return value
therefore often you see at the end "return 0;" or something like that.
if you use void you don't need the return
basically it works in both ways and it also doesn't matter if you don't return a value but it as good programming practice always to return a value when a datatype is set or use void instead
One of the most popular languages of all time.
|Bucky Roberts Administrator|