program:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main()
{
int array[] = {10,20,30,40,50,60,70,80,90};
int n;
n = sizeof(array);
printf("Size of the given array is %d\n", n/sizeof(int));
return 0;
}
output:
Size of the given array is 9
Process returned 0 (0x0) execution time : 0.016 s
Press any key to continue.