Question: What is the difference between a void function and a non - void function in C + + ? A void function returns a value,
What is the difference between a void function and a nonvoid function in C
A void function returns a value, while a nonvoid function does not
A void function does not return a value, while a nonvoid function does.
A void function cannot have any arguments, while a nonvoid function can
A void function can only be called from withing the same file, while a nonvoid function can be called from any file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
