0
why, not writing ( return 0) ,doesn't affect the program?
#include <iostream> using namespace std; void printSomething(int x) { cout << x; } int main() { printSomething(42); }
3 Respuestas
0
excluding return means the compiler will add it for you.
- 2
g7m97.k.7gk777kk67yygy776g6776