How are chars and INTs stored in memory?

A char can be stored with a single byte, while a int will be at least 2 bytes (more commonly 4 bytes in modern machines), and so these may be stored differently. It doesn’t. We could have memory that equaled 0x41. The only way this is distinguished between ‘A’ and 65 is based on how you declared it to the compiler.
For More Information Please Refer:

You May Also Like to Read: