Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 23rd, 2018
69
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 foo(void *addr, void **ptr) {
*ptr = addr;
}
int main() {
int x = 42;
int y = 66;
int *p;
p = &x;
foo(&y, &p);
printf("*p: %d\n", *p);
return 0;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
snowybot python
JavaScript | 9 min ago | 3.48 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 11 min ago | 0.39 KB
snowybot python
JavaScript | 16 min ago | 3.44 KB
data905
JSON | 16 min ago | 0.64 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 21 min ago | 0.38 KB
Untitled
C++ | 25 min ago | 0.79 KB
Dissolve v.2
HTML | 40 min ago | 45.97 KB
Dissolve v.1
HTML | 47 min ago | 46.93 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!