今天咱们学习C语言程序设计第7章——字符串的内容。今天的主要内容有三部份,分别是字符串字面量,字符串的存储,字符指针。Today we are learning about C Progra妹妹ing Chapter 7 - Strings. The three main parts of today&34;hello&34;123&39;\\0&39;\\0&39;\\0 &39;\\0&
No.3字符指针文章源自微观生活(93wg.com)微观生活-https://93wg.com/5185.html
3.字符指针是指向字符型数据的指针变量。只要将字符串的首地址赋值给字符指针,便可让字符指针指向一个字符串。字符串字面量自身代表的就是寄存它的常量存储区的首地址,是一个地址常量。3. A character pointer is a pointer variable that points to character type data. A character pointer can be made to point to a string simply by assigning the first address of the string to the character pointer. The string literal itself represents the first address of the constant store in which it is stored, and is an address constant.文章源自微观生活(93wg.com)微观生活-https://93wg.com/5185.html
参考资料:文字:百度;图片:微博;文章源自微观生活(93wg.com)微观生活-https://93wg.com/5185.html
以上就是微观生活(93wg.com)关于“《c语言程序设计》——字符串”的详细内容,希望对大家有所帮助!文章源自微观生活(93wg.com)微观生活-https://93wg.com/5185.html 文章源自微观生活(93wg.com)微观生活-https://93wg.com/5185.html
评论