Hi Everyone,
I have the following two cases,
typedef char* cptr;
const cptr ch;
//here ch is a pointer to a character and the pointer is a constant
here...
where as
#define CPTR char*
const CPTR ch;
//here ch is a pointer to character and the character is a constant
here...
What is the reason behind this???
I have the following two cases,
typedef char* cptr;
const cptr ch;
//here ch is a pointer to a character and the pointer is a constant
here...
where as
#define CPTR char*
const CPTR ch;
//here ch is a pointer to character and the character is a constant
here...
What is the reason behind this???
Comment