what is the main difference between c and c++?
Answer Posted / vivek sagar jaiswal
*c is the procedure oriented programing.
c++ is the object oriented programing.
*c is the low level language.
c++ is the high level language.
*c is top-down approach
c++ is bottom-top approach.
*c is structured design
c++ is object oriented design .
*c does not deal with real world problems properly
eg. Maintaining a database.
while c++ deals with real world problems.
*In c we declare variable at the start of block...
In c++ we can declare it any where.....
*c the data can pass through the fuction to fuction.
Data is hidden and can’t be accessed by the external function.
*We can’t work with Class in C .
We can work with Class in C++ .
*c is not required acces
specifiers .
C++ is required acces
Specifiers .
*c has not inheritance concept .
c++ has inheritance concept .
*C can't support
of all function of C++.
C++ can support of all function of C
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is inheritance write a program to show use of inheritance?
What is polymorphism oop?
How do you define a class in oop?
Why do while loop is used?
Can we create object of interface?
What is the problem with multiple inheritance?
What is encapsulation selenium?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Which language is not a true object oriented programming language?
What is the example of polymorphism?
What is advantage of inheritance?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Can main method override?
Can a varargs method be overloaded?
What is ambiguity in inheritance?