What is the difference between const int *ptr and int const
*ptr???
Answer Posted / abdul sami
'const int* ptr' means the value whose address is being
held by ptr is constant and cant be changed while
'int const *ptr' means the pointer cant be changed like it
cant be incremented or decremented although you can change
the date pointed to by ptr.
Is This Answer Correct ? | 41 Yes | 57 No |
Post New Answer View All Answers
Is react oop?
What is encapsulation in ict?
What is class encapsulation?
How long to learn object oriented programming?
What do you mean by abstraction?
Can abstract class have normal methods?
What does and I oop mean?
What is a null tree?
Which method cannot be overridden?
How do you define social class?
what are the different types of qualifier in java?
What does I oop mean?
How to hide the base class functionality in Inheritance?
What do you mean by Encapsulation?
How can you overcome the diamond problem in inheritance?