Advertisements
Advertisements
Question
Differentiate between the following:
Char a[5] and int a[5]
Distinguish Between
Solution
Char a[5] | int a[5] |
The variable an is a length 5 subscripted variable (array). It's limited to storing characters. | Variable and is subscripted (array) to length 5 (inta[5]). It is limited to storing integers. |
shaalaa.com
Is there an error in this question or solution?