表达式1:*p++;where p是指向整数的指针.
*p++;
p
p将首先递增,然后由于关联性(从右到左)获取它指向的值.这样对吗?
表达式2:a=*p++;where p是指向整数的指针.
a=*p++;
首先取值,p然后分配给a第一个然后p由于后增量而增加.这样对吗?
a
c pointers operator-precedence post-increment
有些书中说theta符号被称为平均情况,而其他人则说theta不是普通情况.如果θ不是平均情况那么所谓的算法平均情况呢?
c algorithm data-structures
c ×2
algorithm ×1
data-structures ×1
operator-precedence ×1
pointers ×1
post-increment ×1