cpp/memory/pointer_declaration #37
Replies: 5 comments
|
1、先简化,不关注signal的参数,简化后:void (*signal())(int);找到标识符signal,匹配(),表示是一个函数;*表示这个函数的返回值是一个指针,void (int)就是这个指针的类型,是一个参数是int返回值是void的函数的指针。 |
0 replies
|
我建议忘记运算符优先级,采用Clockwise rule,参考https://c-faq.com/decl/spiral.anderson.html |
0 replies
|
这是来自QQ邮箱的假期自动回复邮件。帅哥美女,你的邮件我已经收到!
|
0 replies
|
读法从内层到外层,拆解定义从外到内 |
0 replies
|
这是来自QQ邮箱的假期自动回复邮件。帅哥美女,你的邮件我已经收到!
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
cpp/memory/pointer_declaration
编程指北: 计算机系统学习指南, 操作系统, 计算机网络, C++, Java, 算法, 数据结构
https://csguide.cn/cpp/memory/pointer_declaration.html
All reactions