what is data Abstraction? and give example
Answer Posted / md. muzahidul islam
defining types of data for a class.
e.g. a class named 'Person' may have data such as 'age',
'height' etc.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is c++ array?
What is the use of :: operator in c++?
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 If dog is a friend of boy, is boy a friend of dog? Is c++ the best programming language? What is the difference between a pointer and a link in c ++? What do you mean by static variables? What are c++ variables? Difference between overloading vs. Overriding Explain how to initialize a const data member. Write a program to find the reverse Fibonacci series starting from N. What does 7/9*9 equal ?
a) 1
b) 0.08642
c) 0 How the programmer of a class should decide whether to declare member function or a friend function? What doescout<<(0==0) print out
a) 0
b) 1
c) Compiler error: Lvalue required What is the benefit of encapsulation?