0
it's int main() and not void main()
0
It is only a warning, not an error, to remind you that main should not be void. Console programs should return an int so shell scripts may report whether the execution was successful. It is conventional that if a program returns 0, then the run was successful, and non-zero means it was unsuccessful.
0
Laukesh singh You Code still works and Like Brian said it's just a reminder. When you don't Like the warning just use int main().
0
Laukesh singh When I Run the Code I get the Output "12345678910" and that should be also the right Output by that Code and then behind that's the warning.
What's your expected output?
0
Change main() function.