Close sidebar

can u define type of pointer ??

give name of all type pointer

  • Rajat
  • 5025 दृश्य
  • 12 उत्तर
12 उत्तर
  • It depends on how quickly you can find larger terms to strategically put letters to extract information.br /Finding words stretches your limits. a rel='nofollow' href="https://quordlegame.net"quordle/a


  • Smart pointers are objects in C++ that simulate pointers but provide automatic memory management. Examples include std::unique_ptr, std::shared_ptr, and std::weak_ptr in C++11 with a rel='nofollow' href="https://candyclicker.io"candy clicker/a .


  • strongemNULL Pointer, Dangling Pointer, Generic Pointers, Wild Pointer, Complex Pointers, Near Pointer, Far Pointer, Huge Pointers/em/strong


  • Various pointer types are: NULL Pointer Dangling Pointer Generic Pointers Wild Pointer Complex Pointers Near Pointer Far Pointer Huge Pointers


  • strongDifferent types of Pointers in C Language:/strongbr /strong(1) Void Pointer:/strongbr /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.br /strong(2) Dangling Pointer:/strongbr /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.br /strong(3) NULL Pointer:/strongbr /Literal meaning of NULL pointer is a pointer which is pointing to nothing.br /(4) strongNear pointer :-/strongbr /A pointer variable which can handle only one segment of 1MB data. It is called near pointerbr /(5) strongFar pointer/strong :-br /Which pointer variable can handle any segment of 1MB data, it is called far pointer.br /(6) strongWild Pointer or Bad pointer/strong :br /Unintialized pointer variable or which pointer not initialized with any variable address. It is called wild pointer


  • Ystrongou need to distinguish the variable and the pointer to the variable. When we declare:br /int x;br /int *p;br /x = 1; // direct assignment to xbr /p = &x; // the value of p is the address-of xbr /*p = 42; // assigns a value to the variable pointed to by pbr /// (in this case, indirect assignment to x)br /The variable x has type int; i.e. it is a variable to which we can assign an int emdirectly/em, or a pointer-to-int can refer to its location.br /p is a emdifferent variable/em, with type "pointer to int".br /We can set p to the location of x (&x); thenbr /we can store 42 in "the variable pointed to by p"./strong


  • Yes ,we can define Type of pointer. A pointer holds the address of another variable that is stored in the memory. Different types of pointers are 1)Null pointer 2)dangling pointer 3)wild pointer 4)generic pointer 5)Huge pointer 6)Far pointer 7)Near pointer 8)Complex pointer


  • A pointer is basically the address of the variables. It stores the value (numeric value) which is the address to the particular variable.There are various type of pointers in C programming . Few of them are listed below.br /NULL POINTER-  as the name suggests , the pointer points towards zero (nothing) value. It is used to initialize pointer variable when it is not assigned with proper memory.  br /DANGLING POINTER- if the variable is deleted but the pointer still points towards its address is known as dangling pointer.br /WILD POINTER- No initialization to a pointer give wild pointer.br /GENERIC POINTER- the pointer with type void is called as Generic pointer.br /NEAR POINTER-pointers which can only point small segments are called near pointer.br /FAR POINTER- pointers which can point large segments are called far pointer.br /HUGE POINTER- pointers which can point whole memory are called huge pointer.   br /COMPLEX POINTERS.


  • A pointer is a variable which stores the address of another variable. Int a =4; Int *p! P=&a;

    -1

  • 1. Void pointer 2. Null pointer 3. Dangling pointer


  • no


  • full time pointer

    -1

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