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

How do I download c++?

1005


Why use of template is better than a base class?

1178


Is c++ double?

1030


What is lazy initialization in c++?

1105


What is a sequence in c++?

1009


Which is better turbo c++ or dev c++?

1075


Write syntax to define friend functions in C++.

1073


What is const pointer and const reference?

1158


Explain rethrowing exceptions with an example?

1021


Which coding certification is best?

1024


How would you use qsort() function to sort an array of structures?

1119


What is the return value of the insertion operator?

1126


What are static and dynamic type checking?

1079


What gives the current position of the put pointer?

996


What are the characteristics of friend functions?

1011