posted 19 years ago
This will not give any compile time error as you are explicitly type casting it.
So, the compiler will assume that whatever you are doing in explicit type casting is know to & you are responsible for that.so it will over look the error. But in run time it will give error.