vault backup: 2024-11-19 21:31:02
This commit is contained in:
parent
a5ad33523f
commit
59395f8e1c
@ -52,4 +52,10 @@ while (p != NULL) {
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
> **9.** True or false: If `x` is a structure and `a` is a member of that structure, then `(&x)->a` is the same as `x.a`. Justify your answer
|
> **9.** True or false: If `x` is a structure and `a` is a member of that structure, then `(&x)->a` is the same as `x.a`. Justify your answer.
|
||||||
|
|
||||||
|
**True**: The arrow operator is used to access a member of a struct through a pointer. `(&x)` creates a pointer to the `x` struct, therefore the arrow operator can be used to access fields on `x`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
> **13.**
|
Loading…
Reference in New Issue
Block a user