What is constant in c++ with example?
Answer / Raj Veer Singh
In C++, a constant is a value that cannot be changed during program execution. A constant can be declared as const int myConstant = 42; or const double PI = 3.14159;. Constants help prevent accidental modification of values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Comment on local and global scope of a variable.
Show the declaration for a static member variable.
How many ways can a variable be initialized into in C++?
please help to write the code of chess game in c++??????????
What are references in c++?
Is there any function that can skip certain number of characters present in the input stream?
When is dynamic checking necessary?
Which programming language should I learn first?
What are the types of array in c++?
Write about the stack unwinding?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is cloning?