Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- void recurse(int count)
- {
- if(count>5){
- return;
- }
- recurse(count+1);
- printf("Count = %d\n",count);
- }
- int main()
- {
- recurse(1);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement