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
How does free() know explain how much memory to release?
What are the different categories of functions in c?
What is a void pointer? When is a void pointer used?
Which is best book for data structures in c?
What is the purpose of void pointer?
What is the function of this pointer?
What is memory leak in c?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Do you know pointer in c?
Is it possible to execute code even after the program exits the main() function?
What is scope and lifetime of a variable in c?
using for loop sum 2 number of any 4 digit number in c language
Explain the properties of union. What is the size of a union variable
Explain how can I read and write comma-delimited text?