Programming: Using the While Loop (Loop Through Pointer Variable)
Share
To loop through a set of characters using a pointer:
while(*StringOfCharacters > 0) { Send_A_Character(*StringOfCharacters++); } Since the ++ is at the end of the variable, the value is returned prior to the increment.