wht is major diff b/w c and c++?
Answers were Sorted based on User's Feedback
Answer / dng
c is procedural oriented language and C++ is a object
oriented language.
In C++ we can create object and its properties where as in C
functions are used.
| Is This Answer Correct ? | 100 Yes | 9 No |
Answer / narender vadhava
in c we can use if statements only for 16times but in c++ ,
we can use if for 256 times.
in c it's difficult to solve complex no but in c++ we can
solve easily by using classes.
c follows down to up approach to complie a program but
c++ follow up to down approach.
in c++ we can add variables any where within the program
but in c data type are declared only on the starting of the
function or the main program.
| Is This Answer Correct ? | 41 Yes | 20 No |
Answer / b.varalakshmi
c is structured language whreas c++ is object oriented
language.
in c language overloading and operator overloading is not
possible where as in c++ it is possible.
in c++ data abstraction is possible. whereas in c it it not
possible.
in c++ we can do nesting,inheritance which is not possible
in c.
objects and classes are present in c++ not in c.
| Is This Answer Correct ? | 23 Yes | 3 No |
Answer / aditya
C is a structured oriented language. It follows a
structure/ rules in the execution of the program. In C
basically functions are used.
Where as C++ is a object priented programming language.
Here we can apply the oops concepts like inheritance,
encapsulation etc. In C++ classes and objects are used.
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / jyoti
c++ is oops is real word entity means in c++we can secure
our data by using the concept of class but in cv we will
not secure our data means data is global
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / venkat somapalli
C is a Function Oriented(procedure) Laguage. where as C++
Is object Oriented laguage.
in C no STL(Standard Template Library). C++ have.
In C no namespace concept. it's avilable in c++.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ashutosh soni
In C Lan is middle level lan. but c++ High level lag becoze
C lan. 25 % code is written in Assembly lag .
C is faster compair to c++ becoze c 25 % code Written in
Assembly Lag.that reason its is faster .
| Is This Answer Correct ? | 16 Yes | 11 No |
Answer / muhammad hamad
c language is used ANSI C standerd define for c language but c++ is used additional features.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / bchengareddy
c is procedural oriented language and c++ is a object
oriented language
in c++ we can create object and its prop[erties where as in
c functions are used
| Is This Answer Correct ? | 0 Yes | 0 No |
ambiguity regulation of multiple inheritance with example.
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)
WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP
What is overloading in oop?
What is differance between Abstract and Interface
1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.
what is the difference between ERROR and EXCEPTION?
Have you ever interfaced with a database?
I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?
what is difference between c++ language and java language
What is abstraction with example?
Why is polymorphism needed?