what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / pankaj
c++ is considered to be more secured as compared to c bcoz
in c++ the concept of pointers is not provided.pointers can
b used in c++ but they cannot be used directly as in c
language.c++ also does not support operator overloading.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / v.santhoshini
*c does not supports function overloading.c++does supports
function overloading.
*Now c,name space is not available.c++,namespace is
available.
*c does not uses reference variable.c++ uses reference
variables.
*c is more time complexity.c++ is less time complexity.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / arifru rahaman
Function overloading is possible in C++ but it is not
possible in C.
| Is This Answer Correct ? | 2 Yes | 0 No |
C C++
C IS A PROCEDURAL C++ IS A OBJECT
LANGUAGE ORIENTED LANGUAGE
C IS TOPDOWN APPROACH C++ IS BOTTOMUP
APPROACH
C DOES NOT SUPPORT C++ SUPPORT OPERATOR
OPEART OVERLOADING OVERLOADING
| Is This Answer Correct ? | 5 Yes | 4 No |
Answer / sucindran
Advance of C programming is called as c++.
C++ contains many new features like OOPS...
The Extension of 'c' is called as 'c++'.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / santhosh r
C has no security, grouping ,sharing,extendability.
C++ is having all the above features.
The earliest name of C++ was "C WITH CLASSES".
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / swetha.j.n
C is a middle level language.But C++ is not a middle level
language.
C is a portable language.But C++ is not a portable language.
C is a top-bottom approach.But C++ is a bottom-top approach.
C++ language is more easy than C language.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to calculate the age from the date of birth by using the program?
Explain polymorphism? What r the types of polymorphism? pls give examples?
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
What is the important feature of inheritance?
What is encapsulation with real life example?
What is object in oop?
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
what is oops
What are the three main types of variables?
What is OOPS and How it is different from Procedural Programming ?
23 Answers HP, Infosys, Thyrocare,
in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C
what is use to destroy an object? illustrate.