Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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