+ 4

Is this correct?

void is a function does not return a value

26th Jan 2018, 3:21 AM
Jefferson Ayopela
Jefferson Ayopela - avatar
4 Answers
26th Jan 2018, 3:38 AM
jay
jay - avatar
+ 8
ok
26th Jan 2018, 3:38 AM
Jefferson Ayopela
Jefferson Ayopela - avatar
+ 7
void is not a function but a data type. When you specify the return type of a function as void, then the function returns no value.
26th Jan 2018, 3:37 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
0
void is a datatype used by the programmer to get no output from the function he wrote..
26th Jan 2018, 4:01 PM
vickyvirus258