Skip to content

Instantly share code, notes, and snippets.

@Cammila
Created May 29, 2013 20:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cammila/5673380 to your computer and use it in GitHub Desktop.
Save Cammila/5673380 to your computer and use it in GitHub Desktop.
array01
#include <stdio.h>
#define MAX 20000
int main (){
int i;
int x[MAX];
for(i=0;i<MAX;i++){
x[i] = i+1;}
printf("%d\n", x[999]);
printf("%d\n", x[4999]);
printf("%d\n", x[19999]);
return 0;
}
@jpolvora
Copy link

=)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment