Y
Hacker News
new
|
ask
|
show
|
jobs
by
amelius
1900 days ago
"Pointer arithmetic" takes care of that. Adding an integer to a pointer will multiply the size of the type pointed to by the integer and adds that to the pointer.