C Programming, Recursion, Recursive Function.
(trust me you will love this roller-coaster ride I’m going to take you through. Coming from the first line, I get that I’m walking through the function — dfs(……) which accepts the argument as ’n’ of type “int”. Next , I declare a variable “sum” assign it the value which is indexed at position ’n’