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
What are the 3 pillars of oop?
What is multilevel inheritance?
What is the oops and benefits of oops programming?
What is meant by multiple inheritance?
What is static in oop?
write a C++ program for booking using constructor and destructor.
Which method cannot be overridden?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is the difference between a mixin and inheritance? How do you achieve runtime polymorphism? Which type does string inherit from? 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. is there any choice in opting subjects like 4 out of 7 What is polymorphism give a real life example? What are the three main types of variables?