const type * ptr_name and the type * const ptr_name
http://m.shnenglu.com/cc/archive/2006/03/12/4045.htmlconst char * ptr :?? The content pointer by ptr can not be changed.
char * const ptr:??? The pointer value can not be changed.
posted on 2009-02-22 14:59 everspring79 閱讀(288) 評論(1) 編輯 收藏 引用 所屬分類: Notes