can u define type of pointer ??

give name of all type pointer

  • Rajat
  • 30 सितम्बर
  • 5182 दृश्य
  • 12 उत्तर
Your Answer

Different types of Pointers in C Language:
(1) Void Pointer:
A void pointer is a pointer that has no associated data type with it. A void pointer can hold address of any type and can be typcasted to any type.
(2) Dangling Pointer:
If any pointer is pointing to the memory address of any variable but after some time that variable has deleted from the memory location while pointer is still pointing such memory location then such pointer is called as Dangling pointer.
(3) NULL Pointer:
Literal meaning of NULL pointer is a pointer which is pointing to nothing.
(4) Near pointer :-
A pointer variable which can handle only one segment of 1MB data. It is called near pointer
(5) Far pointer :-
Which pointer variable can handle any segment of 1MB data, it is called far pointer.
(6) Wild Pointer or Bad pointer :
Unintialized pointer variable or which pointer not initialized with any variable address. It is called wild pointer

0
c programming
मॉक परीक्षण अभ्यास के लिए
c programming