Q:

Which among the following is correct?

0

Which among the following is correct?


  1. class student{ }s1,s2; s1.student()=s2.student();
  2. class student{ }s1; class topper{ }t1; s1=t1;
  3. class student{ }s1,s2; s1=s2;
  4. class student{ }s1; class topper{ }t1; s1.student()=s2.topper();

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).class student{ }s1,s2; s1=s2;

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OOPS CONCEPT AND FEATURES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which among following is correct for initializing ... >>
<< When an object is returned___________...