#include <iostream>
int main(void)
{
int a = 100;
int *const pC = &a;//指针的指向的内容可以变,不能改变指向
int const *pR = &a;//指针指向的内容不能改变,可以改变指向
const int *const pCR = &a;//既不可以改变指针的指向,也不可以改变指针指向的内容。
int c=200;
//*pR = 30;//去掉注释报错
//pC=&c;//去掉注释报错
//pCR = &c;//去掉注释报错
return 0;
}