Science, asked by uberdanger012, 8 months ago

What is the purpose of a “void”?

Answers

Answered by monikamondokar
1

Answer:

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."

Answered by jiya9614
4

Answer:

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."

Similar questions