+ 2
Functions concept is a bit confusing how can they be used as arguments of other functions.
3 Réponses
+ 1
If they return something (integer, string,...) they can be handled like a variable which value is dependent on the algorithm of it.
int func1(){
return 5;
}
now func1() could be used as an integer with value 5
+ 1
thank you