Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the string pointer questions that may be encountered in the interview?

Shulou Source: shulou.com Published: 2022-06-03 13:13:14 11月17日 Update

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

Tags: Test questions fragments characters functions strings memory pointers arrays addresses bytes programs errors parameters variables basic skills formal parameters examination solutions different solid Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information macOS MariaDB Shulou Technology Xiaomi