Which among the following is correct?

Which among the following is correct? Correct Answer class student{ public: student(){} };

The constructors must not have any return type. Also, the body may or may not contain any body. Defining default constructor is optional, if you are not using any other constructor.

Related Questions

The question below consists of a question and two statements I and II have given below it. You have to decide whether the data provided in the statements are sufficient or not sufficient to answer the question. Read both the statements and give an answer. How many boys are smaller than Rupali in her class, when students of Rupali’s class are ranked in ascending order of their height from bottom to top? Statements:  I. Rupali’s rank is 15th from the top among all the students and 6th among girls. II. Rupali’s rank from the bottom on the basis of height among girls is 12th and among students is 31st.