Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in pointer-arithmetic

C Beginner question: Pointer arithmetic > cleaning up once you are done

difference between *y++ and ++*y?

Freeing pointer after pointer arithmetic

Undefined behavior with pointer arithmetic on dynamically allocated memory

How to wisely interpret this compiler warning?

Is one-past-end pointer OK for non-array object types?

Can I pass a pointer to before the beginning of an array if I know only existing elements will be used?

Why subtract null pointer in offsetof()?

Can we subtract NULL pointers?

C null pointer arithmetic

Output of C program with complex pointer arithmetic

Is pointer difference between two arrays defined on specific implementations?

Can you explain the purpose of array+5 in this program?

Is apparent NULL pointer dereference in C actually pointer arithmetic?

C Fraction Arithmetic

How does a hardware trap in a three-past-the-end pointer happen even if the pointer is never dereferenced?

C - Why cast to uintptr_t vs char* when doing pointer arithmetic

Is arithmetic on pointers associative?

Do pointers support "array style indexing"?

In C, should I be allowed to use pointers to arrays of incomplete types?