Untitled
unknown
python
2 years ago
213 B
10
Indexable
for (int* p = x; p < x + 3; p++) {
for (int* q = x; q < p; q++) {
if (*p>*q) {
tmp = *q;
*q = *p;
*p = tmp;
}
}
}Editor is loading...