Saturday, 21 July 2018

Array

Arrays





An array is a collection of similar data type stored at continuous memory locations.
Variable (Data type) can be int,char,float

Declaration Syntax;
int a[10]; (integer array)
char b[10]; (character array)
int *p[10]; (array of pointer)
int *fptr[10] (int,int);(array of function pointer)