what is the difference between these two char* val; char *val; |
typedef char *cpointer; Now cpointer is pointer to a character typedef [attributes] DataType AliasName; but according to typedef *cpointer(alias) should give me character right |
|
|
typedef char *pchar char* is considered as datatype pchar is the aliasname why is this inconsistency?why doesn't the compiler throw an error?why is this intelligence there in the compilation |
typedef char * pchar; why * is not considered as alias name as per the typedef syntax above and throw an error. |
char *val; char* val; has no difference char* val,val1,val2 are all these char pointers char *val,val1; |