Regarding pointers

what is char * and how it is different from char

char * is used for a pointer variable that refers to the contents in it where as char is a basic data type used to store any single character. char * can be used to store multiple characters or strings whereas char can store only a single character.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.