3 solutions
-
1
#include <bits/stdc++.h> using namespace std; int main() { int x, y, z; x = 10; y = 20; z = 30; int * a[3] = { &x, &y, &z}; for(int **p=a; p < a + 3; ++p) cout << * (*p) << endl; return 0; }
- 1
Information
- ID
- 926
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 1
- Tags
- # Submissions
- 60
- Accepted
- 43
- Uploaded By