+ 4
why is return necessary
2 odpowiedzi
+ 3
Because the function must return something if it has a return type. If ur function should not necessarily return anything use void as a return-type
0
it also c++ to automatically fill it or else errors will occur in your program