+ 2
What's the difference between void main() and int main() ?
2 ответов
+ 2
functions starting with void data types do not return anything so either return 0 or no return will not cause any error but may give you a warning whereas for int datatype functions you must return a value.
+ 1
Rohit bhai.. if u don't mind, tell me some examples or otherwise