
- Forum
- Programming Talk
- C and C++
- Is Operations Possible
Is Operations Possible
This is a discussion on Is Operations Possible within the C and C++ forums, part of the Programming Talk category; Is it possible to do arithmetic operations on a void * pointer. If not why cannot one perform the same. ...
-
Is Operations Possible
Is it possible to do arithmetic operations on a void * pointer. If not why cannot one perform the same. Kindly provide reasons for that.
-
04-25-2007, 11:50 AM #2
- Join Date
- Apr 2006
- Answers
- 124
Pointer arithmetic is nothing but performing arithmetic operations on a pointer. Pointer arithmetic cannot be performed on void pointers because the void type has no size and thus the pointed address cannot be added to.

Reply With Quote





