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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -