0
How to run call by value
area of circle
2 Réponses
+ 1
int aoc(int) is by value
int aoc(int*) is by reference
+ 1
@Mattias
int aoc(int* val); you are passing pointer as argument.
int aoc(int &val); there you are passing reference as argument.
area of circle