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 this pointer in oop?
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)
IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?
What is destructor example?
Why is oop better than procedural?
who is the founder of c++?
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
Name a typical usage of polymorphism
create a c++ program that will accepts 9 inputs using 3 by 3 array.
how to create thread in java?
17 Answers IBM, Infosys, Wipro,
What is a friend function & its advantage?
what is the application of oops?