const char* buf="abc";
char *val;

val=*buf;