+ 1
What is the difference between " " and ' ' when we work on strings in c?
2 odpowiedzi
+ 6
If there is only one character it's enclosed in single quote
char alphabet='a';
But if we have a string then we use double quotes.
char greeting[6]="hello";