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 token c++?

991


What are the various arithmetic operators in c++?

1088


What is c++ library?

1000


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

964


What is the difference between global int and static int declaration?

981


Explain what are single and multiple inheritances in c++?

989


If all is successful, what should main return a) 0 b) 1 c) void

985


Explain terminate() and unexpected() function?

1053


Explain the concept of dynamic allocation of memory?

1064


Mention the ways in which parameterized can be invoked. Give an example of each.

1017


Who calls main function?

1061


How will you call C functions from C ++ and vice-versa?

1099


Explain static and dynamic memory allocation with an example each.

1061


Explain Memory Allocation in C/C++ ?

1038


How is computer programming useful in real life?

1024