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 |
write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation
1 Answers College School Exams Tests, HCL, IBM, TCS,
Whats is abstraction in oops?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
Difference between vector and array
1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?
What is a scope resolution operator?
write a program to find 2^n+1 ?
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,
Have you ever interfaced with a database?
write a C++ program for booking using constructor and destructor.
what is virtual function?
26 Answers Aspire, HP, Infosys, RoboSoft, TCS,
what is abstract class ? when is used in real time ? give a exp