What is the output of printf("%d")?
Answer Posted / anita sachdeva
it will print nothing
| Is This Answer Correct ? | 27 Yes | 68 No |
Post New Answer View All Answers
When is dynamic checking necessary?
How to tokenize a string in c++?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
How can we access protected and private members of a class?
Why c++ is better than c language?
Do vectors start at 0?
What is the difference between the functions memmove() and memcpy()?
What is a dynamic binding in c++?
Explain virtual class and friend class.
what are function pointers?
How a modifier is similar to mutator?
How do you establish an is-a relationship?
What do you mean by stack unwinding in c++?
Should a constructor be public or private?
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