This variable stores the last return value of a program.
int main(){
return 0;
}if you type echo $? in the terminal, it will return 0
This variable stores the last return value of a program.
int main(){
return 0;
}if you type echo $? in the terminal, it will return 0