C/C Online Exam Test(MCQs :- multiple choice questions and answers. e.g C MCQS,C Mock Tests , C Practice Papers ,C Sample Test,C Sample questions)

Your Session ID :-Guest6279806

Question 1: Which of the following statements is correct about the C#.NET code snippet given below? class Student s1, s2; // Here 'Student' is a user-defined class. s1 = new Student(); s2 = new Student();

Contents of s1 and s2 will be exactly same.

The two objects will get created on the stack.

Contents of the two objects created will be exactly same.

The two objects will always be created in adjacent memory locations.

Total MCQS Questions are 16 in this paper C
Search