I had a doubt regarding call by address!!!
Question:
1.how to code an armstrong number using call by address in c++ program?
Suppose if you have
int armstrong(int num)
then change to
void armstrong(int& num)
Notice the '&
'
Topic archived. No new replies allowed.