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 |
Write a program to find out the number of palindromes in a sentence.
class type to basic type conversion
hi all..i want to know oops concepts clearly can any1 explain??
What do you mean by abstraction?
Why many objects can working together? How objects working togetherM I want to see example code.
What are the three parts of a simple empty class?
Why do while loop is used?
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
Is enum a class?
What does oop mean in snapchat?
What language is oop?
When is it necessary to use member-wise initialization list in C++?