A pointer parameter in a function prototype should be declared as pointer to const if the pointer is not used to modify the addressed object.;

 
  • 7如果函数原型中的指针参数不被用于改变寻址对象,此指针应被声明为指向常量的指针。
今日热词
目录 附录 查词历史