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 / annie

1)C is procedure oriented language whereas c++ is object
oriented language.
2)C uses top down approach whereas c++ uses bottom up approach.
3)We can declare variables in the body of main() at the
beginning whereas we can declare variables anytime in c++
when we want to use them.
4)There is no concept of operator overloading in c whereas
there is a concept of operator overloading in c++.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use inheritance?

1061


Why do we need polymorphism in c#?

1095


What is methods in oop?

925


What is polymorphism explain?

1191


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2020


What is overloading in oops?

1091


What is object and example?

1113


What is data binding in oops?

1024


What is encapsulation in oops?

957


Where You Can Use Interface in your Project

1834


what is different between oops and c++

2455


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

1240


Can we create object of interface?

1064


What is polymorphism in oops with example?

972


What is the difference between a constructor and a destructor?

1173