Is void a datatype ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is void a datatype ?

24th Jun 2019, 6:34 AM
Ankith M Kashyap
Ankith M Kashyap - avatar
4 Answers
+ 1
nope
24th Jun 2019, 7:34 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
You can not declare a void variable with no value.
24th Jun 2019, 8:23 AM
Seb TheS
Seb TheS - avatar
+ 1
Thanks a lot peeps
25th Jun 2019, 4:50 AM
Ankith M Kashyap
Ankith M Kashyap - avatar
0
I would assume that it is just a keyword.
24th Jun 2019, 7:38 AM
Seb TheS
Seb TheS - avatar