Computer Science, asked by pk030833, 9 months ago

what is the role of the keyword void in declaring function.​

Answers

Answered by kishu6331
23

Explanation:

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. ... You cannot declare a variable of type void.

Answered by zayannavab
2

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. ... You cannot declare a variable of type void·············

Explanation:

Similar questions