casting of pointers in c

Hello again gays.

I want to know about casting and type conversion in C programing language . for example how this expression work and what is the return value ?

char *strval ;
(const char*)strval ;

where we have permission to use casting ? do I have to set a file attribute.

thanks .

More questions in this forum