what is data Abstraction? and give example
Answer Posted / deepak
data abstaction is process of hiding the datamambers of one
class by using private access spcifier from other class
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include What is an arraylist c++? Why use of template is better than a base class? What size is allocated to the union variable? Explain friend class? What is the importance of mutable keyword? Explain the virtual inheritance in c++. What is Destructor in C++? What are the advantages of c++ over c? What are advantages of c++? What is a c++ object? What are the different types of comments allowed in c++? How much maximum can you allocate in a single call to malloc()? Why Pointers are not used in C++? How a new element can be added or pushed in a stack?