Difference between char *foo vs (char *)foo in Objective-C

Posted by iWalter on Stack Overflow See other posts from Stack Overflow or by iWalter
Published on 2010-03-18T17:12:45Z Indexed on 2010/03/18 17:21 UTC
Read the original article Hit count: 527

Filed under:
|
|
|

What is the difference between

char *foo

and

(char*) foo

in Objective-C?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about syntax