what is the main difference between c and c++?
Answer Posted / sricharan
>> C << >> C++ <<
1> Basically it is an 1> It is an Object oriented
procedure oriented known as OOPS
2> It is an Top-Down 2> It is an Bottom-Up
approach approach
3> syntax ->#include<stdio.h> 3> #include<iostream.h>
4>Here we use Print f & scan f 4> Here we use cout and cin
statements statements
5>Mainly Focus on procedure 5> Mainly Focus on Data
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Which language is pure oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is a function in oop?
How oops is better than procedural?
Can enum be null?
Why is encapsulation used?
What makes a language oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
what type of questions
• What are the desirable attributes for memory managment?
What is use of overloading?
What is polymorphism what is it for and how is it used?
What is abstraction in oop with example?
What is class and example?
What is the advantage of oop over procedural language?