What are the string pointer questions that may be encountered in the interview?
This article shows you the string pointer questions that may be encountered in the interview. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Question 1:
The following is a reference clip:
Void test1 () {char string [10]; char* str1 = "0123456789"; strcpy (string, str1);}
Question 2:
The following is a reference clip:
Void test2 () {char string [10], str1 [10]; int i; for (iTuno; I