Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

increment pointer value in c

(*ptr)++; // increase value of ptr
*ptr++; // * takes precedence over ++, looks at value of ptr+1
 
PREVIOUS NEXT
Tagged: #increment #pointer
ADD COMMENT
Topic
Name
2+8 =