-
What is the void data type?
数据类型
函数 返回值
Questioner:Gabriel Ross 2023-05-05 14:10:01
The most authoritative answer in 2024
-

-
Julian Patel——Works at the International Seabed Authority, Lives in Kingston, Jamaica.
The
data type void actually refers to an object that does not have a value of any
type. We have already seen examples of its use when we have defined functions that return no value, i.e. functions which only print a message and have no value to return. Such a function is used for its side effect and not for its value.
read more >>
About “数据类型、函数、返回值”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.