Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

what is difference between single inverted and double inverted in programming languages

[...] In common usage, there may be a distinction between the
single and double quotation marks in this context; often, single
quotation marks are used to embrace single characters, while 
double quotation marks enclose whole words or phrases[.]


Simply: according to the charcter check for string and char
1. if char , then use '';
2. if string , then use "";
Source by english.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #difference #single #inverted #double #inverted #programming #languages
ADD COMMENT
Topic
Name
2+3 =