Horje
print an array in c Code Example
print an array in c
int array[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
int i;

for (i = 0; i < 10; i++) {
  printf("%d ", array[i]);
}
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




16

Related
latex font sizes Code Example latex font sizes Code Example
how to genrate a random number in C Code Example how to genrate a random number in C Code Example
boolean in c Code Example boolean in c Code Example
write a program to find reverse of given number Code Example write a program to find reverse of given number Code Example
load and display figure in python Code Example load and display figure in python Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12