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
c++ program to swap the objects of two different classes
What is data binding in oops?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
write string class as your own class in java without using any built-in function
What language is oop?
What is constructor in oop?
What are the benefits of polymorphism?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is difference between multiple inheritance and multilevel inheritance?
why reinterpret cast is considered dangerous?
What is the real life example of polymorphism?
Why do pointers exist?
What is abstraction and encapsulation?
What is this pointer in oop?
What is the significance of classes in oop?