Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

shouldn't it be:

* (a + b * sizeof(T))

where T is array elements' type?




That's implied in + on a pointer. uint32_t* + 1 actually adds 4.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: