techpreparation-homepage

Home  Interview Questions  Certifications  Aptitude Questions  Tutorials  Placement Papers  Search  Resume  Soft Skills  Video  Forum  Blog


Technical Interview Questions
Java Interview Questions
.Net Interview Questions
C++ Interview Questions
Unix Interview Questions
                              .........More

Aptitude Interview Questions
C/C++ Aptitude Questions
C Aptitude Questions
                              .........More

Online Quiz
C Online Quiz
C++ Online Quiz
                              .........More

Programming Source Codes
Java Source Codes
Html Source Codes
CSS Source Codes
C Source Codes
                              .........More

 

 

  

  Home > C Interview Questions >

Difference between const char* p and char const* p

 

In const char* p, the character pointed by p is constant, so u cant change the value of character pointed by p but u can make p refer to some other location.

in char const* p, the ptr p is constant not the character referenced by it, so u cant make p to reference to any other location but u can change the value of the char pointed by p.

 

<< Go Back to C Interview Questions. 

Have a Question ? post your questions here. It will be answered as soon as possible.