Operating on pointers - overview
- Politechnika Śląska
- Fundamentals of Computer Programming
Operating on pointers • Pointers may be: - compared - subtracted - incremented by an integer (scaled!) - decremented by an integer (scaled!) • Adding 1 to a pointer increments the address by the size of the pointed type • Pointers may not be added...