GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Placement Papers  >  Kshema Technology  >  Technical
Next Question 
 Technical  |  Question 1 of 18    Print  

What are the key differences between C & C++


  
Total Answers and Comments: 5 Last Update: August 01, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 05, 2005 07:12:40   #1  
AparnA        

RE: What are the key differences between C & C++
C is Structured Programming language; 
C++ is Object Oriented Programming language

 
Is this answer useful? Yes | No
August 01, 2007 08:58:08   #2  
SARAVANAN SIVAJI        

RE: What are the key differences between C & C+...


Here are the two main difference between C and C++:

1.  C is a procedural language whereas C++ is non-procedural language
2.  C gives mostly importance to functions whereas C++ gives importance to both functions and data


 
Is this answer useful? Yes | No
August 01, 2007 09:00:52   #3  
SARAVANAN SIVAJI        

RE: What are the key differences between C & C+...
Othere differences:

1.  C allows struct, union, and enum types to be declared in function prototypes, whereas C++ does not.

2.  A struct, union, or enum declaration in C++ declares an implicit typedef, while in C it does not


 
Is this answer useful? Yes | No
August 01, 2007 09:59:09   #4  
SARAVANAN SIVAJI Member Since: August 2007   Contribution: 2    

RE: What are the key differences between C & C+...

The main difference between C and C++ are:

1.  C is a procedural language whereas C++ is a non-procedural language.
2.  C gives importance to functions (methods) whereas C++ gives importance to both functions and data.
3.  C allows the data to flow around the functions freely whereas C++ wraps up the data and functions together, due to that datas were not allowed to flow around freely in C++.  This is said to be Encapsulation in C++
 

Other differences, ( actucally there is lot to mention......here are the two )

1.  C allows struct, union, and enum types to be declared in function prototypes, whereas C++ does not.

2.  A struct, union, or enum declaration in C++ declares an implicit typedef, while in C it does not


 
Is this answer useful? Yes | No
August 01, 2007 10:03:02   #5  
SARAVANAN SIVAJI Member Since: August 2007   Contribution: 2    

RE: What are the key differences between C & C+...
One more point: we can include..........

In C, the members in the struct, by default, public.
In C++, the members in the class, by default, private.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Sponsored Links

 
Related Categories




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape