Seek and thou shalt find.
>>How do we know the type the pointer points?
You have to declare the data type when the pointer is created.
int* iPointer;
>>Is it compiler specific?
No. Pointers are defined by C and C++ standards, so all compilers comply.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,950 posts
since Aug 2005