Hi, I want to know the difference in the between the following statements-
int fun( int *n) (passing a pointer)
int fun(int &n) (passing the address)
How will this affect the function and when should we use the above statements.
Hi, I want to know the difference in the between the following statements-
int fun( int *n) (passing a pointer)
int fun(int &n) (passing the address)
How will this affect the function and when should we use the above statements.