adspace
What is constant keyword in C++? Illustrate its various uses.
Answer Posted / Rajesh Kumar Gupta
The const keyword in C++ can be used to declare a variable, function, or pointer as read-only. Const variables must be initialized at the point of declaration and cannot be modified thereafter. Const functions cannot modify any non-const object or variable within their scope.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
sir please send me bpcl previous question papers
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What character terminates all character array strings a) b) . c) END
daily Routine of father
Can union be self referenced?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
What is the latest version on c++?
Please send ford technologies placement paper 2 my mail id
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.