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?



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

Answer / 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

More C++ General Interview Questions

Can you please explain the difference between static and dynamic binding of functions?

0 Answers  


Explain selection sorting. Also write an example.

0 Answers  


Describe public access specifiers?

0 Answers  


Why preincrement operator is faster than postincrement?

5 Answers  


What is the full form of ios?

0 Answers  


If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];

3 Answers  


Differentiate between realloc() and free().

0 Answers  


Should the this pointer can be used in the constructor?

0 Answers  


If a function doesn’t return a value, how do you declare the function?

0 Answers  


How static variables and local variablesare similar and dissimilar?

0 Answers  


What is a loop? What are different types of loops in c++?

0 Answers  


What are smart pointer? Whats its use?

1 Answers   CTS,


Categories