What is the size of void() function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the size of void() function

size of operations

21st Feb 2018, 6:23 PM
HARDIK AGARWAL
HARDIK AGARWAL - avatar
3 Answers
+ 5
its size "null" it does not return. !!
12th Apr 2018, 12:24 PM
‏‪‏‪meenu saini‬‏‬‏
‏‪‏‪meenu saini‬‏‬‏ - avatar
+ 3
functions don't have explict sizes. The void keyword is called a return type and when specifying void it means it doesn't return anything.
13th Mar 2018, 4:43 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
return type of void is null.. That is it has value zero internally
11th Apr 2018, 2:22 AM
Abhijnana Hk
Abhijnana Hk - avatar