解引用运算符 解引用运算符dereference operator或称间址运算符indirection operatorC语言编程语言家族中常表示为 一个星号为单元运算符作用于个指针变量返回该指针地址的等效左值这被称为指针的解引用例如 int x int p   is used in the declaration  p is a pointer to an integer since after dereferencing  p is an integer x    now x   p  x   takes the address of x  now p   since p  x and therefore p  x p    equivalent to x   since p  x  now p   and x   在C语言中是解引用运算符的逆运算因此s等价于s例如 p  s  the address of s has been assigned to p p  s  p is equivalent to s 结构s的成员a的值可表示为sa若指针p指向s 即p  s sa等价于pa也可用结构解引用运算符作为语法糖缩写表示为pa p  s  the address of s has been assigned to p p  s  sa is equivalent to pa  sa is equivalent to pa  pa is equivalent to pa Unix的外壳脚本以及一些工具软件如Makefile中美元符为解引用运算符用于把变量名字转译为其内容