Answers for "a c program to input eight integer numbers into an array"

C
6

take array as input in c

int size=5;
int array[size]; // array of size=5;

for(i=0;i<size;i++){
   scanf("%d",&array[i]);
                }
Posted by: Guest on November-05-2020
0

scan numbers into array c

for (i = 0; i < 5; i++)
  scanf("%d", &array[i]);
Posted by: Guest on January-20-2021

Code answers related to "a c program to input eight integer numbers into an array"

Code answers related to "C"

Browse Popular Code Answers by Language