Programming has been a headache recently. This type of conversion can be done by knowing that it can be switched, but it is always hard to remember. I will keep searching through the Internet and summarize it here. For future convenience, of course,
/*2009-11-14 14:27:331. The char string ends with the string end symbol '/0 '. The string name is the address of the first character,So when we pass the string name as a parameter to the function, we actually pass the address into the function.Since
Reference: http://blog.csdn.net/procedure1984/article/details/5419616The difference between one or three peopleBoth string and char arrays are a piece of memory that holds contiguous characters.string memory for specific characters is transparent to
/*File: String. h# Ifndef _ linux_string_h _# DEFINE _ linux_string_h _
/* We don't want strings. h stuff being user by user stuff by accident */
# Ifdef _ KERNEL __
# Include /* For size_t */# Include /* For null */# Include /* for inline
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.