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
What does sksksk mean in text slang?
What does no cap mean?
write knight tour problem which is present in datastructure
What is abstraction in oop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
Why oops is important?
Can a varargs method be overloaded?
How do you achieve runtime polymorphism?
Why do we use polymorphism in oops?
What are two types of polymorphism?
What is purpose of inheritance?
How do you explain polymorphism?
Give two or more real cenario of virtual function and vertual object
What is the difference between abstraction and polymorphism?
What is the example of polymorphism?