Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
how to add two different pointers in c language?
please gave me the suggestions..
Posted

Pointers are referred as locations in memory. There is no meaning of adding or any arithmetic operation on it.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 9-Mar-11 0:06am    
OK, 5, but I wonder what would be the effect of this help... :-)
--SA
As already said, pointers cannot be added. They are memory locations.

This link
[^] would explain you more - similar thing discussed with an example.
 
Share this answer
 
we canot add a pointer,becuse pointer is a variable it stores the adress of a variable.so we canot add two pointers
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900