what is cast operator?
Answers were Sorted based on User's Feedback
Answer / 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 |
It provides a method for explicit conversion of the type of an object in a specific situation.
| Is This Answer Correct ? | 0 Yes | 0 No |
what uses of c++ language?
What is encapsulation in oops?
What is operator overloading? Give Example
11 Answers CTS, IBM, TCS,
write a program to print * * * * * *
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
What are the fields of vtable
what is the basic concept of inheritance?
What do you mean by abstraction?
Why multiple inheritance is not allowed?
What is encapsulation?
When not to use object oriented programming?
What is destructor give example?