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)

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 - (4789 Reads)

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

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