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 do you answer polymorphism?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
What are callback functions in c++
what is SPL in c++.
What does <> mean pseudocode?
When will a constructor executed?
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,
what is the technical or oop name of object?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
How to call a non virtual function in the derived class by using base class pointer
1. Define a class.
What is a friend function & its advantage?