-
Is Void is a data type?
数据类型
函数 返回值
Questioner:Oliver Wilson 2023-05-05 14:09:52
The most authoritative answer in 2024
-

-
Avery Hall——Studied at the University of Cape Town, Lives in Cape Town, South Africa.
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.