'a' and "a" represent different character constants in the C language: 'a' is a character, and "a" is a string containing one character. They differ in type, storage, usage, syntax, and examples.
The difference between single quotation mark 'a' and double quotation mark "a"
'a' and "a" There are different character constants in C language. The main differences between them are as follows:
1. Type
2. Store
3. Use
4. Syntax
5. Example
1 2 |
|
Summary:
'a' and "a" in C language are different character constants, 'a' is a character and "a" is a string containing one character. They differ in type, storage, usage, syntax, and examples.
The above is the detailed content of The difference between 'a' and 'a' in C language. For more information, please follow other related articles on the PHP Chinese website!