Computer Science, asked by sufiyansalim999, 9 months ago

how can you declare and initialise a string?​

Answers

Answered by yashjames72
0

Answer:

Declare and initialize a String

'C' language does not directly support string as a data type. Hence, to display a string in 'C', you need to make use of a character array. The general syntax for declaring a variable as a string is as follows, char string_variable_name [array_size];

Answered by puneetgoyal12
0

Answer:

Declare and initialize a String

'C' language does not directly support string as a data type. Hence, to display a string in 'C', you need to make use of a character array. The general syntax for declaring a variable as a string is as follows, char string_variable_name [array_size];

Similar questions