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 is object and class in oops?
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...
What are the benefits of polymorphism?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
Can main method override?
i have to create a view in SQL as like in ORACLE DATA EXPRESS EDITION
what are the different types of qualifier in java?
What are the different forms of polymorphism??
What is a class?
32 Answers Infosys, TCS, Thylak,
Can we have a private constructor ?
12 Answers HSBC, Ness Technologies, TCS, Wipro,
Definition of Object Oriented Programming in single line?
33 Answers Impact Systems, Q3 Technologies, TCS,
What is the use of oops?