InterviewSolution
Saved Bookmarks
| 1. |
What Are Pointer Types In C# ? |
|
Answer» Pointer type variable in C# stores the memory ADDRESS of ANOTHER variable.Pointers in C# have the same capabilities as the pointers in C or C++.We can declare a pointer in C# LIKE- char* cptr; where ‘char*’ represents a type i.e. character type pointer and ‘cptr’ represents the NAME of the pointer. Pointer type variable in C# stores the memory address of another variable.Pointers in C# have the same capabilities as the pointers in C or C++.We can declare a pointer in C# like- char* cptr; where ‘char*’ represents a type i.e. character type pointer and ‘cptr’ represents the name of the pointer. |
|