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 oriented programming and procedure oriented programming?
Why do pointers exist?
What is the oops and benefits of oops programming?
What is difference between #define and const?
explain the concepts of oops?
Should you protect the global data in threads? Why or why not?
What is oops with example?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is interface in oop?
Whats oop mean?
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
What is the difference between const int *ptr and int const *ptr???