+ 1

Swapping By call by value.... Help !!!

https://code.sololearn.com/cf43CfC6Fm6w/?ref=app It is not swapping the value... please help

26th Jun 2017, 9:11 AM
Subhankar Golder
Subhankar Golder - avatar
2 Réponses
+ 8
Call by value won't work. Use pointer (call by reference). Pass the memory addresses of variables to function. https://code.sololearn.com/cKKCGqHSyvMb/?ref=app
26th Jun 2017, 9:27 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 2
seems that iostream.h doesn't exist
26th Jun 2017, 9:25 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar