What is the Difference between "C structure" and "C++
structure"?
Answer Posted / sai
c is a structured programming language where as c++ object
oriented programming language
| Is This Answer Correct ? | 6 Yes | 12 No |
Post New Answer View All Answers
In a function declaration what does extern means?
When do you call copy constructors?
How the virtual functions maintain the call up?
Will c++ be replaced?
What is a loop? What are different types of loops in c++?
Can comments be nested?
What is the difference between public, private, and protected access?
Which c++ operator cannot overload?
What is switch case in c++ syntax?
What is the use of seekg in c++?
write a function signature with various number of parameters.
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 How can you specify a class in C++? Can I learn c++ without c? Explain the concept of copy constructor?