Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the main difference between c and c++?

Answers were Sorted based on User's Feedback



what is the main difference between c and c++?..

Answer / bhupendra singh

C follows procedural oriented approach and in procedural
oriented programmers are more focussed on functions rather
than data, how they write the program is more concerned
rather than security. But in object oriented programmer's
have given more priority to data than blocks.
Also procedural oriented terms difficult to understand ,but
object oriented meets real world existing system every thing
is considered as objects. I cannot write a program like
factorial but i can write a class called person...
This is main difference between c and c++.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / vikram

*C is a structured programming Language but C++ supports
partial Object Oriented Programming
* C employs top down approach, but c++ employes buttom up
approach.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / sanjeev varma

C is an top down approach
were as C++ is partially both, top down approach also bottom
down approach

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / shidra

apart from the above definitions remember always that c++ is a super set of c that means all the operations as well as functions which are applicable in c are also available in c++

e.g.-U CAN USE PRINTF AND SCANF IN C++ AS WELL

whereas the reverse is not true as far as my knowledge says

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / satish

c supports function overloading and c++ supports operator
overloading

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / k.packiya

c is procadural langaue but c++ is object oriend language.C
is object based langauga.In c we have use th input and
output statement as printf and scanf but in c++ the input
and output statements are cout and cin.C++ is more
comlexitiy and security then c.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / arunrengan

c is a procedural or structered programming language
where as c++ is a object oriented programming language
so data is secured in c++ but in c data is not secured .
c - top down approach
c++ - bottomup approach
memory allocation:
In c using malloc statement
In c++ new operator.

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / aalya malhotra

1.C is an procedural language whereas C++ is an object
oriented language.
2.C emphasis more on functions and C++ emphasis more on
data.
3.C is used to design medium sized programs whereas C++is
used to design large size programs .
4.C uses header files like <stdio.h>and <conio.h> where as
C++ uses <iostream.h>,<conio.h>

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / sridharan

c dont use classes or objects but c++ do

Is This Answer Correct ?    0 Yes 0 No

what is the main difference between c and c++?..

Answer / akshay kashyap

C++ uses Bottom Up method while c uses Top
Down..

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is a unary operator?

5 Answers  


In multiple inheritance , to create sub class object , is there need to create objects for its superclasses??? in java and c++ both. Actually i have some information that is , all available members from its superclasses , memory created in subclass obj , so no need to create object for its superclasses...??? Thanks in Advance

1 Answers  


What is meant by multiple inheritance?

0 Answers  


Can we call a base class method without creating instance?

6 Answers  


How to improve object oriented design skills?

0 Answers  


What Is a Polymorphism? How many types of polymorphism and whats that use in application?

2 Answers  


what is opps?why it is use in programming language?

2 Answers   Wipro,


create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.

2 Answers   CTS, Delhi University,


What is virtual function?where and when is it used?

2 Answers   Sitel,


c++ is a purely oop concept?

3 Answers   Google, TCS,


what is virtual destructor

7 Answers   L&T, TCS,


#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }

1 Answers  


Categories