Exforsys
+ Reply to Thread
Results 1 to 2 of 2

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. ...

  1. #1
    caradoc is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    122

    Exclamation 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.


  2. #2
    Rahulbatra is offline Senior Member Array
    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.


Latest Article

Network Security Risk Assessment and Measurement

Read More...