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...

Is there something that we can do in C and not in C++?

Answer Posted / som

In C the const variables can be declared and can allocate
the value later.
For ex:
const int i;
i = 7;

This will work in c, but c++ will give compilation error.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can member functions be private?

1050


Why do we use pointers in c++?

1118


Who made c++?

1133


What are the uses of pointers?

1135


Which programming language is best?

1038


When you overload member functions, in what ways must they differ?

1104


What is the difference between a definition and a declaration?

1113


What is ios in c++?

1262


What is c++ and its uses?

1297


What are static type checking?

1099


What is time_t c++?

1204


What are the benefits of oop in c++?

1315


List the merits and demerits of declaring a nested class in C++?

1080


Why are pointers not used in c++?

1191


Can we distribute function templates and class templates in object libraries?

1132