name of *pointer in english

Hello!
I REALLY appoligise for that question, but as I am not from english speaking area, wish to make clear once for ever, and to avoid all misunderstandings
if we have:


1
2
3
4
5
6
  int a=2;
  &a=0xdeadbeef;
  int* pointer=&a=deadbeef;
  *pointer=2;
  
  

In the first line, 2 is a VALUE of a, of course.
Please, what are possible expressions for 2 in the forth line?
What is 2 in relationship to *pointer/pointer ???

MANY THANKS- that is also not that easy q as it looks like!!!
Last edited on
Line 2 is invalid: address of a variable is r-value. You cannot assign anything to it.
Line 3 too: You forgot 0x before Hex constant and &a is still r-value
*pointer is the value pointed to by pointer. It's also called a pointee. http://en.wiktionary.org/wiki/pointee
Last edited on
Many thanks!!!
MiNiPaa, sorry for typos, and thanks for comment!!!:tup
Topic archived. No new replies allowed.