+ 1

Any one please tell me use of "void " function

I searched the internet but not got anything

29th Oct 2021, 2:58 AM
Devansh Tiwari
Devansh Tiwari - avatar
3 Answers
+ 3
It is a function that does not return anything. So the return type is void.
29th Oct 2021, 4:17 AM
Paul K Sadler
Paul K Sadler - avatar
+ 1
In cpp it is good to use int main() This is basic
29th Oct 2021, 10:43 AM
sree harsha
sree harsha - avatar