+ 2

Difference between quotes,

What is the difference between using Double and Single quotes?

25th Jun 2018, 4:54 PM
Keshu Bhatta
Keshu Bhatta - avatar
6 ответов
+ 3
in C and c++ (guess in C# too) a souble quote represents a string of characters whereas a single quote represents just a single character
25th Jun 2018, 4:56 PM
Paul
+ 3
there is no difference in python but I use double quotes because it's easier
25th Jun 2018, 4:56 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 2
Isn't there difference in Python?
25th Jun 2018, 4:57 PM
Keshu Bhatta
Keshu Bhatta - avatar
+ 2
Thanks.
25th Jun 2018, 4:57 PM
Keshu Bhatta
Keshu Bhatta - avatar
+ 1
Paul Totally agree with you. Certain languages like Pascal, don't make use of single quotes. But most of the time, majority of the High level programming language, don't place importance on types of quotes. Except of course C and C++
25th Jun 2018, 5:20 PM
Dlite
Dlite - avatar
25th Jun 2018, 6:00 PM
Maninder $ingh
Maninder $ingh - avatar