0

What is the meaning of void when coding?

c++

21st Jan 2017, 4:16 PM
rekiyah yusuf
rekiyah yusuf - avatar
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...
21st Jan 2017, 4:20 PM
Valen.H. ~
Valen.H. ~ - avatar
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
21st Jan 2017, 4:26 PM
elementry os
elementry os - avatar