Skip to main content

Posts

Showing posts with the label syntax of array

Declaration of array in C programming

   Syntax:      storage_class   data_type   array_name[expression];           Where, storage_class refers to the storage class of the array. It may be auto,                               static, extern. But it is optional.          data_type is the data type of array. It may be int, float, char, ….etc. If int is                           used, this means that this array stores data items of integer types.           array_name is name of the array. It is user defined name for array.        ...