The C programming language distinguishes character constants from string constants by using single quotation marks for characters and double quotation marks for strings. Thus, 'c' is the character c, while "c" is a string of length 1 consisting of the single character c.
1. Why do you think this distinction is made? Is it useful?
+2
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The C programming language distinguishes character constants from string constants by using single quotation marks for characters and ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » The C programming language distinguishes character constants from string constants by using single quotation marks for characters and double quotation marks for strings.