SomeThing what i discover

1. 指针常量

  int a[3] = {1, 2, 3};

  const int *b = a;

  b[0], b[1], b[3] 都是 read_only location

posted @ 2018-04-12 10:54  cp1usplus  阅读(80)  评论(0编辑  收藏  举报