Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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]);
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #print #array
ADD COMMENT
Topic
Name
2+1 =