Code is giving segmentation fault
hello @jha.aparna17
add cout statement in ur main function after function call .
and in ur base case use i>=l condition
hello @jha.aparna17
add cout statement in ur main function after function call .
and in ur base case use i>=l condition