Computer Science, asked by itzANUurprincess, 16 days ago

What is string constant?​

Answers

Answered by llPRINCESSSOFIAll
1

Answer:

hii

good morning.

Explanation:

Text enclosed in double quote characters (such as "example" ) is a string constant. ... The compiler merges a series of adjacent string constants into a single string constant (before automatically adding a null character at the end).

For example, "sample" "text" produces the same single block of storage as "sampletext" .

hope it will help you.

Answered by khushikaul1506
1

Answer:

Anneyo!

String constants, also known as string literals, are a special type of constants which store fixed sequences of characters. A string literal is a sequence of any number of characters surrounded by double quotes:

"This is a string."

...

<3

Similar questions