-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode.cpp
More file actions
54 lines (25 loc) · 669 Bytes
/
Copy pathnode.cpp
File metadata and controls
54 lines (25 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include <stdio.h>
#include <stdlib.h>
int main (void) {
int *m;
// long int a=10;
struct node {
int value;
struct node *next;
} *first =NULL, *new_node;
(*new_node).value=10;
new_node->value = 20;
printf("%d", new_node->value);
new_node->value = 10;
new_node->next= first;
first= new_node;
getchar();
int *p, *n, num=10;
p= #
n=p; //p«ü¦Vª«¥ó«üµ¹n
*p= 5;
*n=15;
printf("%d",num );
getchar();
return 0;
}