Hardware and Software Design Question:
Explain Memory taken for char *, int * etc.?
Answer:
Generally for integer memory is 2 bytes for character is 1 byte
char * and int * are pointers. they point to a memory location hence there size is the same, which is the size of the address space.
char * and int * are pointers. they point to a memory location hence there size is the same, which is the size of the address space.