how can you declare and initialise a string?
Answers
Answered by
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
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
Math,
5 months ago
Math,
5 months ago
Social Sciences,
11 months ago
Social Sciences,
11 months ago
Social Sciences,
1 year ago