Which of the following are true about classes and struct?
A class is a reference type, whereas a struct is a value type.
Objects are created using new, whereas structure variables can be created either using new or without using new.
A structure variable will always be created slower than an object.
A structure variable will die when it goes out of scope.
An object will die when it goes out of scope.
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Mock TestView All Free Test