Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does sksksk mean in text slang?

2123


What does no cap mean?

1065


write knight tour problem which is present in datastructure

2655


What is abstraction in oop?

1138


i got a backdoor offer in process global,Bangalore..Can i work with it?

2845


Why oops is important?

1126


Can a varargs method be overloaded?

1111


How do you achieve runtime polymorphism?

1051


Why do we use polymorphism in oops?

1055


What are two types of polymorphism?

1078


What is purpose of inheritance?

1113


How do you explain polymorphism?

1080


Give two or more real cenario of virtual function and vertual object

2329


What is the difference between abstraction and polymorphism?

1103


What is the example of polymorphism?

1132