1.

What Is Pointer?

Answer»

Pointer is a VARIABLE that STORES the memory ADDRESS of ANOTHER variable. Pointers in C# have the same capabilities as in C or C++.

Some examples are given bellow:

  1. INT *i // pointer of an integer
  2. float *f // pointer to a float
  3. double *d // pointer to a double
  4. char *ch // pointer to a character

Pointer is a variable that stores the memory address of another variable. Pointers in C# have the same capabilities as in C or C++.

Some examples are given bellow:



Discussion

No Comment Found