What is the use of void in C++ 2024?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at University of California, Berkeley, Lives in San Francisco. Entrepreneur passionate about technology and innovation.
When used as a function return type, the void keyword specifies that the function does not return a value. When used for a function's parameter list, void specifies that the function takes no parameters. When used in the declaration of a pointer, void specifies that the pointer is "universal."
2023-05-05 05:47:30
评论(499)
Helpful(122)
Helpful
Helpful(2)

Amelia Turner
QuesHub.com delivers expert answers and knowledge to you.
When used as a function return type, the void keyword specifies that the function does not return a value. When used for a function's parameter list, void specifies that the function takes no parameters. When used in the declaration of a pointer, void specifies that the pointer is "universal."