Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 24th, 2017
78
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
#include <stdlib.h>
int main()
{
void* ptr = NULL;
for(int i = 0; i < 10; ++i)
{
ptr = realloc(ptr, 0);
printf("ptr: %p\n", ptr);
}
return 0;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Rust | 14 min ago | 4.74 KB
Untitled
C++ | 21 min ago | 5.09 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 28 min ago | 0.39 KB
multi_queue
Python | 37 min ago | 0.54 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 43 min ago | 0.38 KB
llama 3 70B sample
Swift | 1 hour ago | 6.14 KB
Untitled
C++ | 1 hour ago | 3.71 KB
concatenate ranges
C++ | 1 hour ago | 1.80 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!