正在加载图片...
ptr +t Example while(ptr endptr) sum+=ptr++ /*it means obtaining the value of the pointer ptr points to and add to sum, then increment the pointer ptr by one it is equivalentto sum+=ptr ptr++, PROGRAMMINGMETHDOLODGY AND SOFTWAREENGINEERING 港城市大 Copyrighto1998 Angus WuPROGRAMMING METHDOLODGY AND SOFTWARE ENGINEERING Copyright©1998 Angus Wu *ptr ++ Example while (ptr < endptr) sum += *ptr++; /* it means obtaining the value of the pointer ptr points to and add to sum, then increment the pointer ptr by one. */ it is equivalent to sum += *ptr; ptr++;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有