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 is byval and byref? What are differences between them?
What are different oops concepts?
What is the purpose of polymorphism?
officer say me - i am offered to a smoking , then what can you say
What is the point of oop?
What are functions in oop?
What is oops?what is its use in software engineering?
What is the problem with multiple inheritance?
What is stream in oop?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What are the types of abstraction?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is the important feature of inheritance?
write string class as your own class in java without using any built-in function
What is methods in oop?