First of all, I'm sorry if this question is stupid and I'm beginner in C/C++
My question is:
Why when I want to point to a char
variable like ( char x = 'A'
) I should make a pointer of char datatype? like this one ( char * pnt = &x
) ? I thought the address should be always integer of any place in Memory so the variable x in my example stored in RAM like this format (01000001) after converted (65) to the binary system in some address .. so there is an address of char type ??
I didn't understand the concept, any explanation?