Hi,
i have two pointer to structures named *currMB and *PrevMB and i want to assign PrevMB into currMB.
will the C++ code below work.

struct Macroblock *currMB;
struct Macroblock *PrevMB;

*currMB= & PrevMB;

and if i want to average these two structures and put the output in currMB.

then can i write

currMB = (currMB+PrevMB)/2;