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...

Difference between const char* p and char const* p?

Answer Posted / hrpynux@gmail.com

There is no difference between const char *p and char const *p as both are pointer to a const char and position of '*'(asterik) is also same. 2. char *const ptr : This is a constant pointer to non-constant character. You cannot change the pointer p, but can change the value pointed by ptr.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Array base access faster or pointer base access is faster?

2307


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

4122


What does it mean to declare a member variable as static?

1059


Write about the scope resolution operator?

1035


What is the best c++ ide?

1178


What is c++ hash?

1106


program explaining feautures of c++

2442


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

1082


Is facebook written in c++?

998


What is implicit conversion/coercion in c++?

1452


Explain the volatile and mutable keywords.

1072


What is the size of integer variable?

1066


Explain the use of virtual destructor?

1081


How would you call C functions from C++ and vice versa?

1174


What is difference between malloc()/free() and new/delete?

1171