So let's say i have a struct pointer called A and struct pointer called B:
struct example{
//variables and pointers
}*A
and then i have a pointer of datatype struct example:
struct example *B=malloc(sizeof(struct example));
If i do
A=B;
does this arithmetic operation mean that whatever struct pointer B is pointing to will be what struct pointer A is also pointing to? I get it with primitive datatype and pointers but struct confuse me because they have variables inside..
assume struct pointer A is set and everything