3 ms·
You can have a unicode character literal -- and depending on the language there's no distinction between character and string (at the type level), a character i
by coldtea 9y ago
You can have a unicode character literal -- and depending on the language there's no distinction between character and string (at the type level), a character is just a string of length 1.
- robotresearcher 9y agoI was assuming C, where there is a difference. int main() { printf( "%d %d\n", 'A', "A" ); return 0; } produces: 65 197730221 since the value of string "A" is its base address.