阅读背景:

如何在main函数中打印字符数组的内容,其函数通过字符指针返回其基址?

来源:互联网 

I was trying to print the contents of a character array in the main function by accepting the base address of that array in a character pointer which is returned by another function. Actually here the code is to accept a string with vowels and return the modified string without vowels. But when i print the character array in the main function, the code does not print anything. It is possible to do with a string class though but i want to know what is the problem while using character pointers.I was trying to print the contents of a charact




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

分享到: