which are the 4 members functions in c++ objects that can
either be declared explicitly by programmer or implementation
if nt available.

Answer Posted / pramod

Sarita...
1)if i am not wrong...compiler never provides the
parametrized constructor. For example, you can try
this,simply create a parameterized object and don't specify
a parameterized constructor ( as per you say compiler will
provide one), it will generate an error.
2)zero argument constructor and default constructor are the
same things.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 pillars of oop?

613


What is multilevel inheritance?

724


What is the oops and benefits of oops programming?

553


What is meant by multiple inheritance?

737


What is static in oop?

587






write a C++ program for booking using constructor and destructor.

2049


Which method cannot be overridden?

578


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1415


What is the difference between a mixin and inheritance?

522


How do you achieve runtime polymorphism?

569


Which type does string inherit from?

616


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2575


is there any choice in opting subjects like 4 out of 7

1729


What is polymorphism give a real life example?

559


What are the three main types of variables?

600