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

difference between c and c++?

Answer Posted / k.k

.............SOME DIFFERENT ANSWER......

1) In c we declare variable at the start of block...

In c++ we can declare it any where.....

2)In c we can change value of constant variable by using
pointer...
In c++ we can not....

3)In c we can not take the address of register variable..

In c++ we can...

register int x;
printf("%d",&x);

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the disadvantage of using a macro?

1051


What is the use of endl in c++ give an example?

1105


How can you quickly find the number of elements stored in a dynamic array?

985


write a function signature with various number of parameters.

990


Is dev c++ free?

967


What is a null object in c++?

1151


What are enumerations?

1051


Explain the difference between static and dynamic binding of functions?

998


What do you mean by enumerated data type?

1001


What is ctime c++?

1061


What are the manipulators in c++?

983


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

1060


What is c++ redistributable?

1168


What is the difference between reference and pointer?

1097


What is a rooted hierarchy?

1102