Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 24th, 2018
70
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
void sum(int k, ...)
{
int *p = &k;
int sum = 0;
for (int i = 0; i < k; ++i){
++p;
sum += *p;
}
printf("%d", sum);
}
int main()
{
sum(3, 1, 2, 3);
return 0;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 12 min ago | 0.39 KB
proximity door.lua
Lua | 35 min ago | 0.33 KB
Untitled
PHP | 39 min ago | 0.36 KB
Untitled
C++ | 50 min ago | 1.12 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 NEW 💰
GetText | 1 hour ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 2 hours ago | 0.38 KB
Keylogger.py
Python | 2 hours ago | 5.00 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!