每天一道筆試題-2012年2月20日

問題一:
解釋下面各標示符所對應的類型:

int const n1;
const int n2;

int *const pn1;
const int *pn2;

typedef int *pint;
const pint pn3;
pint const pn4;

出處:《C++ Primer》第四章。
發佈了44 篇原創文章 · 獲贊 58 · 訪問量 26萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章