Hi friends,
This is the my first post to the forum. I want to know what is the need of (advantage of)
static_cast and reinterpret_cast in c++ . we can do all these work through simple c type casting.
I mean if i am writing
Code:class a ;
class b;
a *aptr = new a;
b = reinterpret_cast <b*> (&a);
ALso same thing i can do like
b = (b*) (&a);
Please let me know if my query is not clear....
Thanks

