Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- class node{
- public:
- int info;
- node *next;
- };
- node *p, *q;
- int *e, i, **f;
- int main(){
- p = new node;
- e = new int;
- *e = 0;
- f = &e;
- (*p).next = new node;
- q = &(*p);
- p = (*p).next;
- return 0; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement