Answer Posted / priyanka kokil
Hi Subhashish Sen,
Thanks for your response and adding more details to my
answer.
Thanks
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the difference between object-oriented programming and procedural programming?
How can a struct in c++ differs from a struct in c?
What is a sequence in c++?
Should a constructor be public or private?
What is atoi in c++?
What is different in C++, compare with unix?
How does com provide language transparency?
What happens when the extern "c" char func (char*,waste) executes?
What is auto used for 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
Why do we need templates?
What is late binding c++?
Can you pass an array to a function in c++?
Why null pointer is used?
What is the use of register keyword with the variables?