Skip to content

Instantly share code, notes, and snippets.

@amyreese
Created May 10, 2014 20:52
Show Gist options
  • Save amyreese/91d7f0de7d7b3fea736c to your computer and use it in GitHub Desktop.
Save amyreese/91d7f0de7d7b3fea736c to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
const int length = 5;
int test_array[length] = {21,14,35,63,28};
int main(int argc, char* argv[])
{
for (int i = 0; i < length; i++)
{
printf("%d: %d\n", i, test_array[i]);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment