You can do that in C, C++ and Delphi to.. The compiler usually issues a warning that the assignment is out of range / truncation will occur, but it is legal.
I believe C# will fail to compile.
Cheers,
Stu
I believe C# will fail to compile.
Cheers,
Stu