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++;