Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 20th, 2018
74
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
int sumRecurse(int n)
{
if (n == 1)
{
return 1;
}
return sumRecurse(n - 1) + n;
}
int main(void)
{
printf("%d\n", sumRecurse(10));
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Arduino - Simulating continuous rotation (for...
Arduino | 7 min ago | 1.47 KB
Mini Obby
Lua | 35 min ago | 0.04 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 50 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 53 min ago | 0.37 KB
dsfsegsegseg
PHP | 1 hour ago | 2.71 KB
(raw) Youtube/Music Ad Skipper
JavaScript | 1 hour ago | 1.72 KB
Untitled
C# | 1 hour ago | 12.10 KB
Is it possible to make money with a demo acco...
PHP | 1 hour ago | 3.89 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!