Skip to content

Array in C

Format

c
dataType arrName[arraySize] = {};

Example

c
int size[3] = {12, 13, 14};
// or
int arr[] = {12, 13, 14};