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

what is the use of void main() in C++ language?

1121


What is the difference between while and do while loop?

1152


What is a manipulative person?

1010


Is there structure in c++?

1024


What is the sequence of destruction of local objects?

976


Can you please explain the difference between overloading and overriding?

1091


Is c better than c++?

1062


What is ios flag in c++?

1208


What is the difference between passing by reference and passing a reference?

1077


What is a class definition?

1072


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

1073


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

1101


What is constructor c++?

1114


Describe private, protected and public?

1076


Can java be faster than c++?

1151