What is Object Oriented programming.what is the difference
between C++ and C?
Answer Posted / kalpana
object oriented programming (oop eg c++)is based on
object;whereas procedure oriented programming <pop eg c) is
a structured programming.pop concentrates more on functions
where as in oop more attention is given to the data rather
than functions.oop deals with realworld problems where as
pop doesnot model the realworld problems.
| Is This Answer Correct ? | 14 Yes | 7 No |
Post New Answer View All Answers
Write a Program for find and replace a character in a string.
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
why is c++ called oops? Explain
Is it possible to provide default values while overloading a binary operator?
What is enum class in c++?
When is the destructor called?
What is the c++ code?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
What c++ is used for?
What is the default access level?
Write my own zero-argument manipulator that should work same as hex?
What are the four partitions in which c++ compiler divides the ram?
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 Can a function take variable length arguments, if yes, how? Why should we use null or zero in a program?