const int i = 20; int const i = 20; 这两个语句是完全相同的;const与int哪个写在前面都不影响语义。 所以: const int *p; int const *p; 这两个也是一样的。 const int *pi的语义: 可以看出pi的值是可以被修改的,即它可 Read More
posted @ 2016-08-24 17:28 梓夙 Views(179) Comments(0) Diggs(0) Edit
1 // array_1.cpp : Defines the entry point for the console application. 2 // 数组中的地址表示 3 4 #include "stdafx.h" 5 #include <iostream> 6 using namespace Read More
posted @ 2016-08-24 11:24 梓夙 Views(138) Comments(0) Diggs(0) Edit