single quotes and double quotes | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
+ 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