Jaka jest różnica między pojedynczym odwróconym i podwójnym odwróconym w językach programowania

[...] 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 "";
Viper