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 |
any one please tell me the purpose of operator overloading
1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)
How do you define social class?
What is pure oop?
Program to print 0 to 9 in cross order
what is a binary overloading
what is difference between c++ language and java language
what are the ways in which a constructors can be called?
how can we design a magic square in c++?or suggest me the basic idea of it.
What is difference between function overloading and overriding?
What is static in oop?
What is oops and why we use oops?