How does a character array differ from a string?
A. Character arrays always have
an array subscript operator
B. The string itself makes it known
C. Character arrays always have a semicolon at the end
D. Character arrays do not end with the '0' null character
Answers
Answered by
2
A. String refers to a sequence of characters represented as a single data type. Character Array is a sequential collection of data type char. Strings are immutable. Character Arrays are mutable.
B. An array subscript is not part of the variable name. An array subscript allows Mathcad to display the value of a particular element in an array. It is used to refer to a single element in the array. ... It is used only to display an element of the array. You can also use an array subscript to assign elements of an array.
please mark as BRAINLIEST ❤️❤️❤️ ND follow me
Similar questions