Answers for "in c how to get the user uiput for an array"

C
5

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

Code answers related to "in c how to get the user uiput for an array"

Code answers related to "C"

Browse Popular Code Answers by Language