Platform to Think
C provides the facility of mixing different types of variable and constant in an expression.
Implicit Type Conversion:
Type Conversion:
Explicit Type Conversion:
Syntax: (Data type)expression
e.g z=float(x/y)
Precedence & Associativity of Operators:
Let a=8, b=4, c=2, d=1, e=5, f=20
No comments:
Post a Comment