- p: variable(name)
- *p: implies p is a pointer
- void: to what data type the pointer points to (since the data type is void, no need to assign any value to void)
- void *p: pointer to void (pointer's name is p)
int i = 7;
- i: variable
- int: i's data type
- 7: i's value
- int i = 7: integer i has a value of 7
p = &i:
- assign to p the address of i
댓글 없음:
댓글 쓰기