single quotes and double quotes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

single quotes and double quotes

Why would you choose to use single or double quotes in your code?

25th May 2017, 9:09 PM
kevin Stewart
kevin Stewart - avatar
1 Answer
+ 1
Single quotes can be used for a character like x='a' but a double quotes are used for char arrays or you can say strings.
25th May 2017, 11:03 PM
Usama Zafar
Usama Zafar - avatar