Skip to content
Sign in
Pak Study

A void function in C generally

Tap an option to check the answer. You can also press A–D.

Explanation
A void function in C is used for its side effects rather than returning a value. Common uses include: Printing to the screen (e.g., a function that prints a menu)Modifying global variablesUpdating values through pointers (e.g., a swap function)