Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Sum
mhdew
Mar 3rd, 2018
169
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
void
sum
(
)
{
node
*
pointer
=
head
;
int
sum
=
0
;
while
(
pointer
!
=
NULL
)
{
sum
+
=
pointer
-
>
data
;
pointer
=
pointer
-
>
next
;
}
printf
(
"%d
\n
"
, sum
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Google Docs - Exploit
12 min ago | 0.39 KB
Earn money on Changelly
CSS | 25 min ago | 0.39 KB
SwapEngine Bug [build 1.3]
38 min ago | 0.39 KB
Untitled
45 min ago | 1.01 KB
December smells like money
CSS | 52 min ago | 0.39 KB
coding and writing poetry
7 hours ago | 1.27 KB
UserScript - Hide Umingle video overlays
JavaScript | 9 hours ago | 1.97 KB
biplas v40 - Colonies apart from home
1 day ago | 0.68 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!