pp
Publicado por pp (1 intervención) el 02/03/2024 23:53:04
#include <iostream>
using namespace std;
int main(){
int x = 5, y = 8;
int *px = &x, *py = &y, *p;
int **ppx = &px, **ppy = &py, **pp;
p = px;
px = py;
py = p;
pp = ppx;
ppx = ppy;
ppy = pp;
cout << **ppx << " " << **ppy;
}
using namespace std;
int main(){
int x = 5, y = 8;
int *px = &x, *py = &y, *p;
int **ppx = &px, **ppy = &py, **pp;
p = px;
px = py;
py = p;
pp = ppx;
ppx = ppy;
ppy = pp;
cout << **ppx << " " << **ppy;
}
Valora esta pregunta


1