Q:

Which syntax for class definition is wrong?

0

Which syntax for class definition is wrong?


  1. class student{ student(int a){} };
  2. student class{ };
  3. class student{ public: student(int a){ } };
  4. class student{ student(int a){} };

All Answers

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

 (b).student class{ };

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

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now