0
Pointer is a derived data type...is it right?
And if it is right then what is pointer exactly... Datatype or variable???
2 Answers
+ 5
C11 standard (n1570, §6.2.5, p.42) says
" Any number of derived types can be constructed from the object and function types, as follows:
[...]
â A pointer type may be derived from a function type or an object type, called the referenced type. A pointer type describes an object whose value provides a reference to an entity of the referenced type. A pointer type derived from the referenced type T is sometimes called ââpointer to T ââ. The construction of a pointer type from a referenced type is called ââpointer type derivationââ. A pointer type is a complete object type.
[...]"
+ 2
Thank you Jay Matthews and C++soldier (Babak )