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
India Languages,
4 months ago
Biology,
4 months ago
Math,
4 months ago
Social Sciences,
9 months ago
Social Sciences,
9 months ago
Social Sciences,
1 year ago