How can you quickly find the number of elements stored in a
a) static array b) dynamic array ?
Answer Posted / guest
static array
Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What is a manipulator in c++?
Carry out conversion of one object of user-defined type to another?
What is the difference between global variables and static varables?
What data encapsulation is in c++?
What does std mean in c++?
What are the types of container classes?
You run a shell on unix system. How would you tell which shell are you running?
What do you mean by const correctness?
Write bites in Turbo c++ Header ("Include") Files.
What do you understand by pure virtual function? Write about its use?
Is string data type in c++?
Is set 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 Does std endl flush? How compile and run c++ program in turbo c++?