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 drawback of classical methods in oops?
what is polymorphism?
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.
what about you? wahat is your object? introduce your self?
1 Answers Ajmal Perfumes, TCS,
Which is not an object oriented programming language?
How to deploy web appliction in web logic ?
What is an example of genetic polymorphism?
Why do we use inheritance?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is polymorphism ? Explain with examples
officer say me - i am offered to a smoking , then what can you say
how to create thread in java?
17 Answers IBM, Infosys, Wipro,