In Objective C, C and other pointer supported languages what is the difference between *variablename and & variablename. Isnt it that both contain address location?
In Objective C, C and other pointer supported languages what is the difference between
Share
*variablenamepoints to the content of a Pointer considering ‘variablename’ is a pointer. Whereas&variablenamepoints to the address of the variablename.&variablenamecan be applied on normal variables as well as pointers, wheread*variablenamecan be applied only on pointers.