Answer Posted / sathish, cognizant
Any unary expression is considered a cast expression.
The compiler treats cast-expression as type type-name after
a type cast has been made.
Casts can be used to convert objects of any scalar type to
or from any other scalar type.
Explicit type casts are constrained by the same rules that
determine the effects of implicit conversions.
Additional restraints on casts may result from the actual
sizes or representation of specific types.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is encapsulation process?
What is super in oop?
What is abstraction oop?
What are the 3 principles of oop?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
How to improve object oriented design skills?
What is constructor in oop?
What is overloading in oop?
What is the highest level of cohesion?
Can static class have constructor?
What is abstraction in oops with example?
What do you mean by variable?
Why is oop useful?
What is difference between abstraction and encapsulation?
What makes a language oop?