pointers are support in C#? if yes then how to use it?
Answer Posted / supratim sengupta
pointers in C# are considered as unsafe code. We can use
pointers in the same way as we use in C++ or VC++ but we
need to build it with a /unsafe option
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What are the two different types of polymorphism?
What is coupling in oop?
What is the full form of oops?
Why is oop useful?
Which method cannot be overridden?
Why do pointers exist?
What is the difference between encapsulation and polymorphism?
What is class and object with example?
How do you achieve polymorphism?
why reinterpret cast is considered dangerous?
What is encapsulation with example?
What is abstract class in oop?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is oops and why we use oops?