Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 8th, 2018
105
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
If width is `a` and height is `b`.
```C
int **c;
c = (int**) malloc (sizeof(int*) * b);
for (int i = 0; i < b; i++)
c[i] = (int*) malloc (sizeof(int) * a * 3);
```
Add Comment
Please,
Sign In
to add comment
Public Pastes
win_env_var_explorer2
Python | 5 min ago | 4.80 KB
Untitled
C++ | 6 min ago | 0.61 KB
СПРИНТ № 7 | Модель памяти в C++ | Урок 8: Ко...
C++ | 12 min ago | 4.06 KB
win_env_var_explorer
Python | 14 min ago | 4.06 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 22 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 28 min ago | 0.38 KB
js max product of 2 numbers in array
C# | 31 min ago | 1.30 KB
Reto UF3
C# | 33 min ago | 3.43 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!