+ 2

What is this pointer ? How we can use ?

cpp

22nd Dec 2016, 7:43 AM
himanshu yadav
himanshu yadav - avatar
3 Respuestas
+ 2
pointer is a variable which stores the address of another variable...
22nd Dec 2016, 9:20 AM
shilpa
shilpa - avatar
0
A pointer is an object, whose value refers to (or "points to") another value stored elsewhere in the computer memory using its memory address. Objective C Exemple: int x = 45; int *y = &x; NSLog(@"The value was %d", *y); The statement on the last line will print out the message "The value was 45" 
22nd Dec 2016, 8:52 AM
Felipe Cruz
Felipe Cruz - avatar
0
i am asking 'this pointer'
22nd Dec 2016, 9:26 AM
himanshu yadav
himanshu yadav - avatar