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++?

Answer Posted / kanteshwar

1)In c we can not write function inside structure but in c++
function is inside the structure.

2)C language is not flexible means if tomarow logic changes
and program is large it is more difficult to change the
logic but c++ is flexible it providing the feature like
Inheritance.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you overcome the diamond problem in inheritance?

1139


What is class in oop with example?

1043


What does and I oop and sksksk mean?

1110


What are benefits of oop?

1084


What exactly is polymorphism?

1076


What is inheritance and how many types of inheritance?

1043


What is the problem with multiple inheritance?

1098


write a program to find 2^n+1 ?

2019


What are the types of abstraction?

999


What is the difference between static polymorphism and dynamic polymorphism?

1030


to find out the minimum of two integer number of two different classes using friend function

2080


How does polymorphism work?

1080


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

3038


What is polymorphism explain its types?

1103


Why multiple inheritance is not allowed?

1081