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 / selva kumar.r

In C we should declare the variables only at the top, i.e.,
after header files.

Wheares in C++ we can declare the variables wherever we are
in need.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use encapsulation in oops?

973


How many human genes are polymorphic?

1002


Why do while loop is used?

978


How do you define social class?

1014


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.

1243


write a programe to calculate the simple intrest and compund intrest using by function overlading

2133


What exactly is polymorphism?

1076


Write a program to sort the number with different sorts in one program ??

2325


What is meant by multiple inheritance?

1184


write string class as your own class in java without using any built-in function

2444


What is the real life example of polymorphism?

1113


Why do we need polymorphism in c#?

1100


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1926


What is difference between abstraction and encapsulation?

1021


Is abstract thinking intelligence?

982