0
Difference between single quote ('), and double quote (")?
Can I use a single quote to define a string variable? For example in python I can use both single and double quote...
2 ответов
+ 2
actuary it depend of your syntax on language programing you do but in c base language ' for char but "" for array of char//also string STL
ex:
char a= 'b';//also u can use "b" :)
char f [6]= "hello"; //string f= "hello";
sorry my EN is bad !
+ 2
single for character double for string