Time:10-16
CodePudding user response:
I for more characters from the keyboard pointer assignment why output when all the pointer to the string is the final value of the pointer
who told you can direct the pointer input string, the space of the pointer from? Char * a * b * c is defines three pointer variable, rather than a string, a pointer is used to store address, or you into a string array, such as the maximum number of characters to 10, char a [10], or use new or malloc, allocate space, char * a=new char [10]
Page link:https//www.codepudding.com/Backend/67065.html