Vidyalelo
C# Programming · Q106

Classes and Objects in C Sharp

Programming · C# Programming · question 106

Q106

What does the following C# code imply? csharp abc; abc = new charp();

A.
Object creation on class csharp
B.
Create an object of type csharp on heap or on stack depending on the size of object
C.
create a reference c on csharp and an object of type csharp on heap
Answer
D.
create an object of type csharp on stack

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board