KnowledgeBoat Logo

Computer Applications

Differentiate between char a[5] and int a[5]

Java Arrays

67 Likes

Answer

char a[5]int a[5]
char a[5] is an array of char data type.int a[5] is an array of int data type.
This array can hold 5 characters.This array can hold 5 integer values.

Answered By

39 Likes


Related Questions