This is a question in my text book, and the answer is-
The keyword void in a function declaration has a significant purpose.When the return type of a function is void , that means the function doesn't return anything.Thus we can say that the purpose of specifying the return type void is that it doesn't return anything.
Please explain the answer.
The keyword void in a function declaration has a significant purpose.When the return type of a function is void , that means the function doesn't return anything.Thus we can say that the purpose of specifying the return type void is that it doesn't return anything.
Please explain the answer.
Comment