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 can a program be made to print the line number where an error occurs?
What is typeof in c?
Who is the founder of c language?
What is unsigned int in c?
What is New modifiers?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
How can I handle floating-point exceptions gracefully?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Not all reserved words are written in lowercase. TRUE or FALSE?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What is pointer to pointer in c with example?
what are the 10 different models of writing an addition program in C language?
Why does everyone say not to use gets?
Why clrscr is used after variable declaration?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above