The Correct Way To Define A Variable Of Type Struct Abc In The #322
The correct way to define a variable of type struct abc in the following C# code?</p> <pre><code class="language-csharp" line="1"> struct abc { public string name; protected internal int age; private Single sal; } </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Object Oriented Concepts - Structures - Quiz No.1.
The correct way to define a variable of type struct abc in the following C# code?
struct abc { public string name; protected internal int age; private Single sal; }
abc e = new abc();
abc();
abc e; e = new abc;
abc e = new abc;