Answer Posted / swati
In case of Malloc we need to specify the size of memory for
our data types. But in case of New we do not need to specify
the size.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What does I oop mean?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Is oop better than procedural?
What is static modifier?
How do you explain polymorphism?
What is the highest level of cohesion?
what is difference between class template and template class?
What is object and example?
What are the important components of cohesion?
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.
what are the realtime excercises in C++?
What is abstraction in oop?
What is difference between inheritance and polymorphism?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
to find out the minimum of two integer number of two different classes using friend function