# question https://hackmd.io/@sysprog/linux2021-quiz1 請問老師,上下兩段程式碼具有一樣的意思(第2行有測試過,第3行我想同理可證),那麼為什麼原本的程式碼(前者)會用指標的指標這個寫法呢? 下面的寫法有什麼不好嗎? ```cpp= static inline void list_add_node_t(node_t **list, node_t *node_t) { node_t->next = *list; *list = node_t; } ``` ```cpp= static inline void list_add_node_t(node_t *list, node_t *node_t) { node_t->next = list; list = node_t; } ``` 看共筆or看教材?
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up