[C++] const and char*

const and char*

 

NOTICE:  

  char  *str = "hello";  the value of str is the address of the first  letter (h) of string ;

 

  

 

posted @ 2015-10-29 21:09  Jonas0608  阅读(145)  评论(0编辑  收藏  举报