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

How to change constant values?

Answer Posted / udit

const int var=10;
*(int *)&var=20;
this syntex change the constat value

Is This Answer Correct ?    15 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some examples of operator overloading?

1039


What are the characteristics of friend functions?

971


Explain deep copy and a shallow copy?

992


What is the most common mistake on c++ and oo projects?

928


What problems might the following macro bring to the application?

983


What is the latest c++ version?

1054


What does std :: flush do?

1078


What is difference between malloc()/free() and new/delete?

1118


How would you call C functions from C++ and vice versa?

1092


What are the new features that iso/ansi c++ has added to original c++ specifications?

1064


How do you flush std cout?

1039


Define a conversion constructor?

1028


Can a Structure contain a Pointer to itself?

1069


What do you mean by late binding?

1058


What is a manipulator in c++?

1173