Computer Science, asked by param1242, 1 day ago

What is the use of void before the method name?​

Answers

Answered by sakshithakran71
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