char flowers[10]="rose‘; cout<<flowers<<endl;
数组名是第一个元素的地址,
C++指针和字符串
原文:https://www.cnblogs.com/hsy1941/p/10127228.html