c++ - 我们可以在指针变量中添加最多多少颗星星

标签 c++ c

用c++编程时,我们可以使用多少级指针?

我正在尝试使用两级指针间接寻址。

最佳答案

在 C++ 中(文档编号:N3797 日期:2013-10-13)建议的最低实现如下

— Pointer, array, and function declarators (in any combination) modifying a class, arithmetic, or incomplete type in a declaration [256].

C 格式(N1548 委员会草案 — 2010 年 12 月 2 日)

— 12 pointer, array, and function declarators (in any combinations) modifying an arithmetic, structure, union, or void type in a declaration

关于c++ - 我们可以在指针变量中添加最多多少颗星星,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25687160/

相关文章:

c - 复制结构时没有获得正确的值

c++ - 快速 RAM 中的动态内存分配

c - 如何将 R 字符 vector 转换为 C 字符指针?

c++ - C++ 17中的静态constexpr和静态内联变量有什么区别?

c++ - Boost:spsc queue:我可以将它用于用户定义的类型吗?

c++ - 如何在 C++ 中#define 一个字符

c - 如何使gcc链接静态库中的强符号覆盖弱符号?

c++ - Winapi EDITTEXT无法粘贴

android - 在 Qt Android 中在哪里进行最后一分钟的清理?

c - 分数归约C程序