what is initialisation while declaration of Array? give the example to initialise single and double dimensional array
Answers
Answered by
3
an array is a collection of variables of same data type that are referenced by a common name.they are initialized using{}this curly braces .ex.single dimensional array:int a(5);
two dimensional array :int a(4)b(5);
they are terminated using ;
two dimensional array :int a(4)b(5);
they are terminated using ;
Similar questions