Reputation: 77596
what does & sign mean when used in objective c for example?
int i = 1; NSData *data = [NSData dataWithBytes:&i length:sizeof(i)];
Upvotes: 1
Views: 1706
Reputation: 118593
It's C.
& == address of
so, &i is the "address of i".
Upvotes: 9