0
If i used void instead of integer in c++ program.?
2 Respostas
+ 4
void means there is not a return type
so, is not the same than use integer
+ 1
to use void:
void main(){
//dont work on code playground it need pc try visual studio
getchar();
}
to use int:
int main(){
return value;
}