ive seen typecasting done this way:
but as far as i can tell this would also be typecasting:Code:int theInt=5; char theChar; theChar=(char) theInt;
is one used in specific cases, or can it work both ways at any time? or is there a flaw in my logic?Code:int theInt=5; char theChar; theChar=int (theInt);