what is the main difference between c and c++?
Answer Posted / mayuri
C C++
DATA IS NOT SECURED SECURED
TOP DOWN BOTTOM-UP
FOCUS ON PROCEDURES FOCUS ON DATA
PROGRAMS ARE DECOMPOSED INTO OBJECTS
INTO FUNCTIONS
allocation is done NEW OPERATOR
with malloc statement
UNOINS AND ENUMS AVALIABLE
ARE NOT AVALIABLE
DOES NOT PROVIDE PROVIDES
DEFAULT ARGUMENTS
| Is This Answer Correct ? | 919 Yes | 147 No |
Post New Answer View All Answers
which feature are not hold visual basic of oop?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What does oop mean in snapchat?
What is difference between pop and oop?
what type of question are asked in thoughtworks pair programming round ?
What is encapsulation in oop?
What is protected in oop?
How do you achieve polymorphism?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Why is polymorphism used?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is difference between multiple inheritance and multilevel inheritance?
How is class defined?
Why do we use class in oops?
What is the benefit of oop?