What is the purpose of a “void”?
Answers
Answered by
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
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
Social Sciences,
4 months ago
Physics,
4 months ago
Science,
4 months ago
Social Sciences,
8 months ago
Social Sciences,
1 year ago
Math,
1 year ago