what is data Abstraction? and give example
Answer Posted / rajendran
data abstraction is the process by which internal
characteristics of an class is hided to the outside world.
| Is This Answer Correct ? | 0 Yes | 2 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 Write about the members that a derived class can add? What parameter does the constructor to an ofstream object take? What is a loop? What are different types of loops in c++? Is arr and &arr are same expression for an array? What is the use of ::(scope resolution operator)? What do you mean by const correctness? How many types of scopes are there in c++? What is general format for a prototype? What is an html tag? What is difference between class and function? When does a name clash occur in c++? Do class declarations end with a semicolon? what you know about c++? What you know about structures in C++?