What is the use of void before the method name?
Answers
Answered by
0
Answer:
In computer programming, when void is used as a function return type, it indicates that the function does not return a value. When void appears in a pointer declaration, it specifies that the pointer is universal. When used in a function's parameter list, void indicates that the function takes no parameters.
Similar questions
Math,
15 hours ago
Geography,
1 day ago
Math,
1 day ago
Social Sciences,
8 months ago
Physics,
8 months ago