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
Accountancy,
6 months ago
History,
6 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Math,
1 year ago
Physics,
1 year ago