What do you mean by abstraction in C++?
Data abstraction is one of the most essential and important feature of object oriented programming in C++. Abstraction means displaying only essential information and hiding the details. A Class can decide which data member will be visible to outside world and which is not.
Is This Answer Correct ? | 0 Yes | 0 No |
Is c++ a low level language?
What are static member functions?
How to create a reference variable in C++
What is difference between malloc()/free() and new/delete?
What is problem with Runtime type identification?
What is the difference between an enumeration and a set of pre-processor # defines?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
When does a name clash occur?
Explain the difference between realloc() and free() in c++?
Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.
Is it possible to provide default values while overloading a binary operator?
Explain operator overloading.