How to find the size of a list in C#?
Answers
Answered by
0
#include <stdlib.h>
#include <unistd.h>
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
Social Sciences,
6 months ago
India Languages,
6 months ago
Computer Science,
1 year ago
Math,
1 year ago
Physics,
1 year ago