what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / kk
The main difference between c and c++ is that " C is a
structured programming language while C++ is an object
programming language and also we have templates in C++ that
is not the case in C
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / himanshu sharma
in c data does not flow around the system eaisly
in c++ data flow around the system very eaisly.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ghopchand manghi
no any diff. between c and c++.the only diff is that in c++ there are two ++ sign
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / internet
C is basic language which is helpful in learning programming
languages. But, C++ is the advancement of the C language
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / swagatika sahu
c is not secure while c++ provides us security of data by using access specifiers like private,public,protected.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anhr computer education
In C++ a variable can be defined at any where but in 'C' it
can be defined only followed by opening curley brace.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / praveen kumar maande
To simply say c with classes is called as c++.c does not support classes, where as c++ is mainly designed to support data security which can be achieved using classes.one more difference is c++ supports exception handling which c does not support.we can access both local and global variables if the are defined by same name using scope resolution operator in the same scope itself where as c doesn't support this.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / babita
C++ HAS FEATURES LIKE DATA ENCAPSULATION,POLYMORPHISM,REUSE
ABILITY OF THE OPERATORS AND OPERATOR OVERLOADING.THESE
FEATURES ARS NOT SUPPORTED BY C.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rajkishor yadav
In c mainly focus on data but in c++ mainly focus on object
rather than data,and in c++ we hide data other unauthorized
things by Encapsulation
It is structure Base Language but c++ object base Language.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the differances between a abstract calss and interface
What does <> mean pseudocode?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
How do you use inheritance in unity?
Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??
1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)
pointers are support in C#? if yes then how to use it?
8 Answers Softvision Solution,
What does and I oop mean?
How do you achieve runtime polymorphism?
Write an operator overloading program to Overload ‘>’ operator so as to find greater among two instances of the class.
why we are declare the function in the abstract class even though we are declaring it in Derived class?
What is OOPS and How it is different from Procedural Programming ?
23 Answers HP, Infosys, Thyrocare,