in code line 216, why are pointers called by value and not reference? if we were doing using iteration ,should we still call using value?
Call by value of arguments
https://ide.codingblocks.com/s/103677 , line 107 in this code, (216 in video), also please help me with the commented code , merging using iteration(giving runtime error).
hey @zodiac, it should be call by value only as every time we are creating new copy and making changes to that copy only. Call by reference will create changes on original a and b also.
Code for Merge function is also fine.