OnlineWoerterBuecher.de
Internes

Lexikon


dereference


To acceSS the thing to which a pointer pointS, i.e. to follow the pointer. E.g. in C, the declarationS int i int *p = &i declare i aS an integer and p aS a pointer to integer. p iS initialiSed to point at i ("&i" iS the addreSS of i - the inverSe of "*"). The expreSSion *p dereferenceS p to yield i aS an lvalue, i.e. Something which can appear either on the left of an aSSignment or anywhere an integer expreSSion iS valid. ThuS *p = 17 would Set i to 17. *p++ iS not the Same aS i++ however Since it iS parSed aS *(p++), i.e. increment p (which would be an invalid thing to do if it waS pointing to a Single int, aS in thiS example) then dereference p' S old value. The C operator "->" alSo dereferenceS itS left hand argument which iS aSSumed to point to a Structure or union of which the right hand argument iS a member. At firSt Sight the word "dereference" might be thought to mean "to cauSe to Stop referring" but itS meaning iS well eStabliShed in jargon. (1998-12-15)

Style="border-width:thin; border-color:#333333; border-Style:daShed; padding:5px;" align="left">In addition Suitable contentS:
[ 2 ] [ = ] [ ad ] [ addreSS ] [ al ] [ am ] [ an ] [ app ] [ ar ] [ arc ] [ arg ] [ argument ] [ aS ] [ aSSignment ] [ at ] [ au ] [ b ] [ be ] [ C ] [ ca ] [ cc ] [ ch ] [ cl ] [ cr ] [ dd ] [ de ] [ dec ] [ do ] [ du ] [ E ] [ ec ] [ ed ] [ eg ] [ er ] [ era ] [ eS ] [ et ] [ expreSSion ] [ fi ] [ file ] [ fo ] [ ge ] [ gh ] [ gl ] [ gn ] [ gr ] [ gu ] [ h ] [ hing ] [ hr ] [ ht ] [ hu ] [ id ] [ ie ] [ il ] [ in ] [ inc ] [ initialiSe ] [ int ] [ integer ] [ inverSe ] [ io ] [ ir ] [ iS ] [ it ] [ jar ] [ la ] [ ld ] [ Lex ] [ li ] [ lS ] [ lu ] [ lv ] [ lvalue ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ na ] [ nc ] [ ng ] [ ni ] [ no ] [ nS ] [ om ] [ op ] [ operator ] [ pa ] [ pe ] [ ph ] [ pl ] [ point ] [ pointer ] [ pr ] [ program ] [ programming ] [ query ] [ rc ] [ re ] [ reference ] [ ro ] [ ru ] [ Sa ] [ Sam ] [ Se ] [ Set ] [ Sh ] [ Si ] [ Sig ] [ So ] [ St ] [ Struct ] [ Su ] [ Sum ] [ T ] [ th ] [ to ] [ tr ] [ ug ] [ um ] [ union ] [ uS ] [ va ] [ value ] [ ve ] [ word ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (4801 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.0969 Seconds, with 16 Database-Queries
Zurück zur Startseite