#recursion
Read more stories on Hashnode
Articles with this tag
#include<iostream> using namespace std; void fun(int n){ if(n == 0)return; fun(n - 1); cout<<n<<endl; fun(n - 1); } int main() { ...