Computer Science, asked by saddybaddu, 6 months ago

a string variable contain values ____ or_____within double quotes​

Answers

Answered by tavongagwaza517
0

Answer:

Explanation:-Strings are arrays of characters in which a special

character-the null character-marks the end

-A string literal is a sequence of characters enclosed within double quotes: "When you come to a fork in the road, take it."

-String literals may contain escape sequences

- Character escapes often appear in printf and scanf format strings

For example, each \n character in the string

"Roses are red,\nviolets are blue,\nsugar is sweet\nand so are you."

causes the cursor to advance to the next line:

Roses are red,

violets are blue,

sugar is sweet

and so are you.

Similar questions