What is the difference between Class and Structure?
Answer Posted / hardik savani
The Structure ara used in c and c++
but class is used only in c++ and other opps languages
| Is This Answer Correct ? | 23 Yes | 33 No |
Post New Answer View All Answers
What is fflush c++?
Explain bubble sorting.
What is searching? Explain linear and binary search.
What is an html tag?
Should the member functions which are made public in the base class be hidden?
What is the use of turbo c++?
Explain what you mean by a pointer.
What is do..while loops structure?
What does it mean to declare a member function as virtual?
What is the use of structure in c++?
Is swift better than 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 was c++ made? What is c++ redistributable? What is a constant reference?