Computer Science, asked by sohamrout56, 6 months ago

Q2. How are String Constants represented?​

Answers

Answered by anushka15012009
3

Answer:

String Constants

A string constant consists of zero or more characters enclosed by apostrophes ( ' ) or quotes ( " ). ... This is because a quote character followed by a digit from 0 to 7 represents an octal numeric constant, not a string, and the character 9 is an illegal octal digit.

please mark me as brainliest

Answered by rahuljaan589
0

Answer:

STRING CONSTANTS

Explanation:

A string constant consists of zero or more characters enclosed by apostrophes ( ' ) or quotes ( " ). ... This is because a quote character followed by a digit from 0 to 7 represents an octal numeric constant, not a string, and the character 9 is an illegal octal digit.

Similar questions