In Java ,the statement Foo d = c; binds d to reference the same object as c, what will be equivalent statement in C++
Foo d = c;
Foo *d = c;
Foo d; d=c;
--