What is the difference b/w const char *myPointer and char *const myPointer?

What is the difference b/w const char *myPointer and char *const myPointer?

Diff are there : 
> Const char *myPointer is a non constant pointer to constant data.But in the case of char *const myPointer is a constant pointer to non constant data. 

By:Umang
Date:2006-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher