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 access or modify the const variable in c ?

Answer Posted / vijay kumar (mainpuri)

Answer of #6 , output is wrong

correct out is given below :

Value is: 20
Value is: 20

(above output based on turbo c++ IDE)
Hence, const value can't be change.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways to a null pointer can use in c programming language?

1099


Why is main function so important?

1064


Explain the meaning of keyword 'extern' in a function declaration.

1129


Explain what math functions are available for integers? For floating point?

1077


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1088


Explain what is page thrashing?

1057


Explain the use of 'auto' keyword

1088


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2607


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

1015


Can we assign integer value to char in c?

1180


What is string concatenation in c?

1042


Can a local variable be volatile in c?

961


Explain what is the difference between the expression '++a' and 'a++'?

1170


How can variables be characterized?

2141


Why do we use null pointer?

1015