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 example?
How do you answer polymorphism?
Get me an image implementation program.
Why u change company?
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.
What is friend function?
what is the size of an empty class
Can we define a class within the interface?
How can i write a code in c# to take a number from the user and then find all the prime numbers till the number entered by the user.
What is pointer in oop?
What is oop in simple words?
who is the founder of c++?