what is data Abstraction? and give example
Answer Posted / keshav.gadde
It is a mechanism to create new data types that include
several related operations to be performed on it and
attributes to suit the require ments of an application.In C++
class are written to prepare ADTs(Abstract data types)
Is This Answer Correct ? | 19 Yes | 38 No |
Post New Answer View All Answers
What is the best ide for c++?
Can we change the basic meaning of an operator in c++?
What is time_t c++?
What are the advantages of using const reference arguments in a function?
What is enum class in c++?
Explain public, protected, private in c++?
How do you declare A pointer to a function which receives nothing and returns nothing
What is a wchar_t in c++?
When should we use multiple inheritance?
what does the following statement mean? int (*a)[4]
What are c++ variables?
How do you remove an element from a set in c++?
What are the two types of comments, and how do they differ?
program explaining feautures of c++
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.