Math, asked by Raiyaan6938, 10 months ago

Size of an two array is number of elements multiplied by the type of element,

Answers

Answered by chitranjan122638
0
* C Program to Find the Number of Elements in an Array.

#include <unistd.h>

int main()

int array[] = {15, 50, 34, 20, 10, 79, 100};

int n;

n = sizeof(array);

printf("Size of the given array is %d\n", n/sizeof(int));

return 0;

Similar questions