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.Why is this distinction is made? How is it useful?
Aucun commentaire:
Enregistrer un commentaire