Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 20th, 2018
61
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
struct PQ {
int* arrayy;
int size;
PQ (int* arr, int n) {
arrayy = arr;
size = n;
}
};
int main () {
int arr[5] = {1,2,3,4,5};
PQ pq(arr, 5);
std::cout << pq.arrayy[2];
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Error al seleccionar vista lista en suscripci...
Python | 8 min ago | 3.14 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 13 min ago | 0.39 KB
6. Balanced Parentheses
Python | 17 min ago | 1.05 KB
programming-language.r1.c
C | 21 min ago | 7.17 KB
takto ne, moc nizkourovnove
Python | 28 min ago | 6.87 KB
6
Python | 33 min ago | 0.38 KB
Untitled
JavaScript | 34 min ago | 2.21 KB
Untitled
HTML | 37 min ago | 0.07 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!