what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / arpit singhal
c is a procedure language when c++ is a oop's based language
c++ is a superset of c.
The most important facility that c++ adds on to c are
classes, inheritance, function overloading and operator
overloading.
In c++ we can make the more secure program rather then c.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / mohit bhushan singhal
1: In C++, we use <iostream.h> while in C, we use <stdio.h>.
2: C++ is an object oriented programming language and C is
a procedure programming language.
3: in C++, we do not use Algo while in C, we use algo to
make a good program.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / r.srinath
C++ is object oriented language and c is structure
programming. c - top down approach c++ - bottom up approach
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sandeep
c contain only 32 keywords
but c++ contain 48 keywords and 15 ansi keywords
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / senthil
c++ is used to friend function used but c used only the
function.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vinomythili
difference between c and c++
c c++
1.procedural oriented 1.object oriented
2.top down approach 2. bottom up approach
3.developed by dennis ritche 3.developed by bjourne
stroustroup
4.malloc and free for allocation 4.new() and delete() for
and deallocation allocation and deallocatio
5.doesn't support operator and 5.it supports both
function overloading
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / lakshit
In c we use <stdio.h> while in c++ we use <iostream.h>......
In c language procedural programing is focussed and in c++
object oriented pograming is focuused ..............
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / harsh
- C++ introduces many features that are not available in C
and in practice almost all code written in C++ is not
conforming C code. This article, however, focuses on
differences that cause conforming C code to be ill-formed
C++ code, or to be conforming/well-formed in both languages
but to behave differently in C and C++.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / amit kumar
C C++
1. Procedural Programing Object Oriented
2. Donot Support Class & Object Supports
3. Low level language High level language
4. Data Not secured Data Secured
5. Allocation By Malloc New Operator
6. Not provide default argument Provide
7. Main funtion Can't return value Can Return
8. Has no Operator overloading Has Operator overloading
9. Top-Down Approach Bottom-Up
10.Imporance on Algo & Function On Class & Object
| Is This Answer Correct ? | 3 Yes | 1 No |
When is it necessary to use member-wise initialization list in C++?
What is abstrac class?where is it use?
what is the advantage in software? what is the difference between the software developer and Engineer
how to swap to variables without using thrid variable in java?
explain defference between structure and class with example
c++ is a pure object oriented programming or not?
why to use template classes in c++?
Name an advantage of linked list over array?
How do you define a class in oop?
Why is oop useful?
What is difference between data abstraction and encapsulation?
ambiguity regulation of multiple inheritance with example.