Answer may be:
“Void” is used where we directly display the output from the function and returning any value to the called statement. In simple words, if you want to show the output from the function then use the void keyword.