Why in C++ to use "" not '' to define a string? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Why in C++ to use "" not '' to define a string?

I tested it, It just outputed the length of the string. Can u tell me why to use "" not ''

9th Oct 2018, 2:38 AM
Potato Hacker
Potato Hacker - avatar
1 ответ
+ 1
Yes
9th Oct 2018, 3:01 AM
Potato Hacker
Potato Hacker - avatar