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 / md.mohibullah

1.In c++,I/O is performed using I/O operators instead of I/O
functions.
2.In c,when a function takes no parameters,its prototype has
the word void inside its function parameter list.But,in
c++,the void is optional.
for instance,char f1(void)[in c]
char f1()[in c++]

3.In c++,local variables can be declared anywhere but in
c,local variables can be declared only at the start of a block.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / nishit patel

C is structure programming language and c++ is object oriented programming langauge ;
c is middle level language and c++ is high level language

Is This Answer Correct ?    0 Yes 0 No

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

Answer / tamil raja

C++ has Enumeration data type & exception handling
functions. but C pgm dosen't have.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / j.balaji

C is oldest programming language.but c++ is the advanced version of C.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / neetesh

C++ supports Data hiding whereas C does not thats why data in C++ much secure than C....

Is This Answer Correct ?    0 Yes 0 No

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

Answer / manjula

1.C TOP DOWN(RUN) APPROACH....
2.C++ BOTTOM UP(RUN) APPROACH...
3.C++ SUPPORT FUNCTION OVERLOADING & OPERATOR OVERLOADING..
4.C DOES NOT SUPPORT FUNCTION OVER LOADING,OPERATOR OVER
LOADING..
5.IN C VARIABLE ARE DECLARED IN DECLARATION PART.
6.IN C++ VARIABLES ARE DECLARED AND IN ANY WHERE IN
PROGRAM.ALSO USED IN DYNAMIC INITIALIZATION...

Is This Answer Correct ?    0 Yes 0 No

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

Answer / krithika

Iam studing computer oriented course but why we r reading
electrical engineering subject

Is This Answer Correct ?    0 Yes 0 No

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

Answer / dua gee

C++ was based on C and retains a great deal of the functionality. C++
does not retain complete source-level compatability with C.
There are a few gotchas for C++ programmers trying to write C code, and
C programmers trying to compile with a C++ compiler.
Actually c is a procedural programming language which
cann't face the real world problem. It has some drawback
like a global data is shared by all function and if in a
large program it is find out difficult that which function
uses which data.

On the other hand c++ is an object oriented programming
language which eliminate some pitfall of conventional or
procedural programming language. It is a concept or
approach for designing a new software. It is nothing to do
with any programming language although a programming
language which support the oops concept to make it easier
to implement.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / kavitha

c is the structure oriented and c++ is the object oriented
language

Is This Answer Correct ?    0 Yes 0 No

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

Answer / anirudh

* C is function-driven while C++ is object-driven
* C follows the procedural programming paradigm while C++ is
a multi-paradigm language(procedural as well as object oriented)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

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 the sylabus for priliminaries?

0 Answers  


What are the advantages of inheritance?

26 Answers   IBS, TCS,


What is a linked list?

10 Answers   IBM, Neural Info,


What is multilevel inheritance in oop?

0 Answers  


What does no cap mean?

0 Answers  


What are functions in oop?

0 Answers  


You have one base class virtual function how will call that function from derived class?

4 Answers  


Petrol pump mgt. system: To design a program that display an interface for the sale of the Petrol and then make the entries at the backend in the database.

1 Answers   Wipro,


What is the highest level of cohesion?

0 Answers  


what is runtime polymorphism? For the 5 marks.

3 Answers  


What is debug class?what is trace class? What differences are between them? With examples.

0 Answers  


Categories