J
josh
Hi, for study purpose I try to convert some C code in Java code and I
want to know
if there is a way to convert this:
int x=10,y=100,z=1000;
int *a[3];
a[0] = &x;
a[1] = &y;
a[2] = &z;
cout << "x="<< *a[0] << " y="<< *a[1] << " z="<< *a[2] << endl;
thanks
want to know
if there is a way to convert this:
int x=10,y=100,z=1000;
int *a[3];
a[0] = &x;
a[1] = &y;
a[2] = &z;
cout << "x="<< *a[0] << " y="<< *a[1] << " z="<< *a[2] << endl;
thanks