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
Can variables be declared anywhere in c?
What is function prototype in c language?
What do you mean by Recursion Function?
Explain b+ tree?
What are run-time errors?
Differentiate between new and malloc(), delete and free() ?
Do string constants represent numerical values?
Do you know pointer in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Is int a keyword in c?
how we can make 3d venturing graphics on outer interface
What kind of structure is a house?
What are two dimensional arrays alternatively called as?
Tell me with an example the self-referential structure?
What is array of structure in c programming?