1.) we usually say /return 0/ indicates success e.g
#include <iostream>
int main() {
int i=3;
std::cout << i << std::endl;
return 0;
}
i ran the programme & i see only /3/ as output. i dont see any /0/ on
my terminal. where does it go? & who reads /0/ to indicate success?
#include <iostream>
int main() {
int i=3;
std::cout << i << std::endl;
return 0;
}
i ran the programme & i see only /3/ as output. i dont see any /0/ on
my terminal. where does it go? & who reads /0/ to indicate success?
Comment