MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / dec

Function dec

CPP/recursion/rec_direction.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#define mod 1000000007
7#define endl '\n'
8void dec(int n){
9 if(n==0)
10 return ;
11 cout<<n<<" ";
12 dec(n-1);
13
14}
15
16//the code will go towards base case
17void inc(int n){

Callers 2

incFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected