Need of Typecasting in Dynamic Memory Allocation in C
For storing it in the pointer of required data type (int, float, char etc.) we have to typecast it. Until we typecast a memory allocation the compiler will not get to know that what type of data we are gonna store to through the pointer. That’s why it’s important to typecast.
Need of Typecasting in Dynamic Memory Allocation in C Read More »