What is Object Oriented programming.what is the difference
between C++ and C?
Answer Posted / yashwant
object oriented prog. introduces the concept of object &
class.In object oriented lang. data member can be made
public, private, & protected. eg:- c++,java, etc.
c++ is advanced form of c. In one
hand c is procedure laugauge where as on other side c is
object oriented. we have some additional keywords in c than
c++.ex:-new etc.c++ also allows 256 char to store.
| Is This Answer Correct ? | 28 Yes | 11 No |
Post New Answer View All Answers
Differentiate between an inspector and a mutator ?
Explain linked list using c++ with an example?
What is a map in c++?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
Why do we use double in c++?
Differentiate between an array and a list?
What is a flag in c++?
What is copy constructor? Can we make copy constructor private in c++?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
How would you find out if a linked-list is a cycle or not?
What is virtual destructor? What is its use?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What is c++ similar to?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
Should I learn c++ c?