阅读背景:

指针数组发出ISO C ++禁止将字符串常量转换为'char'。

来源:互联网 

In the following program, the output is BrownherAdamss. Why is the correct output not coming? As in the second program, the output is coming correct, so getting confused about what's happening. Warning in both programs coming but the 2nd program running well. The warning is ISO C++ forbids converting a string constant to 'char'. Also if I declare the array of pointers as const, then how will I use p[i]=client[i]. This confusing me a lot. In the following program, the output is Brownhe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: