KnowledgeBoat Logo

Computer Applications

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

Java Arrays

68 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

40 Likes


Related Questions