摘要: 参考: https://www.tutorialspoint.com/c_standard_library/c_function_memcpy.htm 声明: Example: Output: 阅读全文
posted @ 2019-02-25 20:28 卷积 阅读(171) 评论(0) 推荐(0) 编辑
摘要: //p1指向的整型是个常量,不能改变,但是它本身可以指向其它变量。 int const* p; const int* p1; int a = 3; int b; //常量 指针, 不能再指向其他变量(必须初始化)。 int* const p2 = &a; //指向整型常量的常量指针。 //不能指向其他变量,指向的变量也不能再被修改(必须初始化) const int *const p3 = ... 阅读全文
posted @ 2019-02-25 16:53 卷积 阅读(93) 评论(0) 推荐(0) 编辑