What will be the output of the following function?
define DIM1(array,type) sizeof(array)/sizeof(type)
int DIM2(int array[]) { return(sizeof(array)/sizeof(int)); } void main() { int arr[10]; printf(“%d %d “, DIM1(arr,int), DIM2(arr)); }
Reveal answer
Fill a bubble to check yourself