Answers for "print all ints from array c"

C
0

scan numbers into array c

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

code to print out entire array in c

for (int i = 0; i < length; i++)
    {     
      printf("%d ", arr[i]);
    } //Change "length" to size of your own array and rename "arr" to your own array name
Posted by: Guest on November-02-2021

Code answers related to "C"

Browse Popular Code Answers by Language