Is there anyway to know the length of array in c when it is initialised during run time.
or
find the minimum element in the array. Initialise the array during run time
Answers
Answered by
1
Step-by-step explanation:
Minimum element in array in C
#include <stdio.h>
main()
{
int array[100], minimum, size, c, location = 1;
printf("Enter the number of elements in array\n");
scanf("%d",&size);
printf("Enter %d integers\n", size);
for ( c = 0 ; c < size ; c++ )
Similar questions