- 博客(1)
- 问答 (1)
- 收藏
- 关注
原创 C++ 顶层const和底层const
顶层const(top-level const) 底层const(low-level const) #include<iostream> using namespace std; int main() { //代码无法运行 int i=0; int k=3; const int* p=&i; p=&k; *p=4; //error int *const p2=&i; *p2=4; p2=&k;//error return 0; } c
2021-10-08 21:51:59 242
空空如也
关于#java#的问题:但是浏览器一直说没有Reset函数
2022-09-11
C语言while循环
2021-09-23
TA创建的收藏夹 TA关注的收藏夹
TA关注的人