applying sizeof( ) to determine an array's size
#include <stdio.h> #define iDAYS_OF_WEEK 7 int main( ) { int arr[iDAYS_OF_WEEK]={1,2,3,4,5,6,7}; printf(" %d ",(int)sizeof(arr)); return(0); }