https://ide.codingblocks.com/s/37376
getting runtime issue ,please tell me where i went wrong
There is infinite loop in rep function… there is no need to to use recursion in rep function… you just have to pass every input string to the function… replace all “pi” and print the output.