Skip to content

Instantly share code, notes, and snippets.

@mashcom
Created June 16, 2014 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mashcom/00b9c69177246af5687a to your computer and use it in GitHub Desktop.
Save mashcom/00b9c69177246af5687a to your computer and use it in GitHub Desktop.
basic array in c
#import <stdio.h>
int main(int argc, char * argv[]){
int areas[]={10,67,7,90,89};
printf("the size of ints id %ld",sizeof(int));
printf("the first character of array is %d",areas[0]);
return 0;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment