What is the purpose of using the “void” keyword?

: 180
Paper : C Programming FAQ (Frequently Asked Questions and answers) for freshers | Platform : Procedural Programming Languages | Category : Programming FAQs

“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.

Suggested Papers: