Type casting is the process by which one type of data is converted into another type of data.
Types of type casting
● Implicit
● Explicit
Implicit Type Casting● Implicit
● Explicit
It is performed by compiler itself. Operands in arithmetic operation must be of similar types. If the data types of operands is different than 'lower' type will automatically convert itself to the 'higher' type before the expression is evaluated and the output will be of 'higher' type.

Explicit Type Casting:
Explicit type casting is performed by
cast operator.The cast operator tells the computer to convert data type of a
value.
Syntax: of using cast operator is
(type) expression;

bohattt awwlllaaaaa g....!
ReplyDeleteThanks :)
DeleteHeyyya....I m CS student and Was Looking for some info for my assignment and Your Bolg Helped a Lot____Thanks.
ReplyDeleteCan I AsK Whats YouR Qualification If u Don't Mind xD ;p
Thanks Again...
Pleasure is all mine :)
ReplyDeletei'm also a CS student.
hmmm . . . my qualification passed second year :)