+ 1

What is the difference between " " and ' ' when we work on strings in c?

28th Jul 2019, 11:59 AM
GameHuB
GameHuB - avatar
1 Answer
+ 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";
28th Jul 2019, 12:02 PM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar