objective c - What does the "&" character mean prepended to a var in obj-c -
hi,
consider these method calls
1) audiofileopenurl(infileurl,kaudiofilereadpermission,kaudiofilemp3type,fileid)
2) audiofileopenurl(infileurl,kaudiofilereadpermission,kaudiofilemp3type,&fileid)
the second call has "&" symbol before fileid parameter. "&" mean?
that's not objective-c feature. it's c "address of" operator. gives memory address of variable opposed contents.
Comments
Post a Comment