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
Write a code to generate a series where the next element is the sum of last k terms.
What are the two forms of #include directive?
What are compound statements?
Write a program to swap two numbers without using the third variable?
Explain union. What are its advantages?
Which is best book for data structures in c?
Define the scope of static variables.
how should functions be apportioned among source files?
Define circular linked list.
What is the difference between text and binary i/o?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What is the difference between null pointer and wild pointer?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
What is the difference between NULL and NUL?
What is string length in c?