+ 1
In which situation a void function used?
"Void"
3 Antworten
+ 2
A void function is a function that returns no value. That being said, you could use a void function to call another function that does return an output. For example,
void adder(int n, int c){
int d = n + c;
print(d);
}
+ 3
https://www.sololearn.com/learn/C/2929/
There's an example at the end :)
+ 1
hello Sarvesh Mankar.
Do you understand that a void function does?