Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct node {
- int p[5];
- };
- int main(int argc, char** argv) {
- node* p[5];
- p[3] = new node;
- int x = 3;
- p[x]->p[x]=x;
- cout << p[x]->p[x];
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement