Original Post
USHORT *pIndex = NULL; int Counter = 0; for (int j=0; j<2; j++) { *(pIndex++) = Counter; *(pIndex++) = Counter + j + 1; *(pIndex++) = Counter + j + 2; } i want *pIndex value to 0, 1, 2 in the first iteration. but when i'm checking the value for *(pIndex) it is zero for all. could any one help me