36_array_initialisers.c 434 B

12345678910111213141516171819202122
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int Count;
  5. int Array[10] = { 12, 34, 56, 78, 90, 123, 456, 789, 8642, 9753 };
  6. for (Count = 0; Count < 10; Count++)
  7. printf("%d: %d\n", Count, Array[Count]);
  8. int Array2[10] = { 12, 34, 56, 78, 90, 123, 456, 789, 8642, 9753, };
  9. for (Count = 0; Count < 10; Count++)
  10. printf("%d: %d\n", Count, Array2[Count]);
  11. return 0;
  12. }
  13. /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/