Skip to content

Instantly share code, notes, and snippets.

@mildocjr
Created August 10, 2018 02:33
Show Gist options
  • Save mildocjr/f122bede7e78f4b9caf123524201a8f2 to your computer and use it in GitHub Desktop.
Save mildocjr/f122bede7e78f4b9caf123524201a8f2 to your computer and use it in GitHub Desktop.
c-pointers-1
// same as var age = 21 except this is a pointer in C
char *name[]= "Bob";
// In Objective-C it would look like this
NSString *name = @"Bob";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment