Untitled
Anonymous
python
09/12/2023 4:41 AM
284 B
19
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...