typecasting an address in C

57 views Asked by At

Why there is a need to typecast an address when a pointer is pointing to an address?

Example

uint32_t *ptr = (uint32_t *) 0x40008000;

What will be the result if we don't typecast the address?

0

There are 0 answers