tags:

views:

66

answers:

1

Possible Duplicate:
How do C/C++ compilers handle type casting?

explain with some some with C++..

A: 

Standard sections

5.2.7, 5.2.8, 5.2.9, 5.2.10 and 5.2.11

give a good idea on how these casts work (which is what compiler and/or runtime implement).

reinterpret_cast is the only one whose behavior is kind of implementation defined.

Chubsdad