If I understand, converting one type to another type is type casting in c laguage
Is the type casting happeing in the code ? in which line type casting is happning ?Code:#include<stdio.h>
int main()
{
char a = 'A';
void *ptr = &a;
printf("%c \n", *(char *)ptr);
*((char *)ptr) = 'B';
printf("%c", *(char *)ptr);
return 0;
}