
const int *ptr_1 = &value // ptr_1 points to a “const int” value, so this is a pointer to a const value.ģ. In nutshell, the above discussion can be concluded as follows:Ģ. Output: The compile-time error that will appear as if const value is passed to any non-const argument of the function then the following compile-time error will appear:

Can a C++ class have an object of self type?.Virtual Functions and Runtime Polymorphism in C++ | Set 1 (Introduction).ISRO CS Syllabus for Scientist/Engineer Exam.


ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.
