0

If i used void instead of integer in c++ program.?

28th Jun 2017, 6:18 PM
Mohammed Razeep.M
Mohammed Razeep.M - avatar
2 Antworten
+ 4
void means there is not a return type so, is not the same than use integer
28th Jun 2017, 6:21 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 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; }
28th Jun 2017, 7:50 PM
Elie Douaihy
Elie Douaihy - avatar