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(183)
Comments(0)
Diggs(0)
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(147)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号