Can I use a single quote to define a string variable?
For example in python I can use both single and double quote...
9/29/2016 5:25:39 PM
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
char a= 'b';//also u can use "b" :)
char f = "hello"; //string f= "hello";
sorry my EN is bad !
single for character double for string
Send us a message