0
What is the meaning of void when coding?
c++
2 Respostas
+ 5
It means that the function should not return any data. If it's different than void, existence of "return" keyword is necessary...
0
if you writing your method by void you can not use the return data of your method...
in fact your method just doing cout your data