Recursive program to generate power set - GeeksforGeeks Method -1


Can u tell me how does function work after curr=“abc” in method 1
. what does powerSet(str, index + 1, curr); do in method 2 and after curr=“abc” how does it work