Which of the Standard C++ casts can be used to perform a
?safe? downcast:
a) reinterpret_cast
b) dynamic_cast
c) static_cast
d) const_cast
Answer Posted / guest
dynamic_cast
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
What is else if syntax?
What is format for defining a structure?
What are smart pointers?
Differentiate between realloc() and free().
What is the default width for ouputting a long integer using the insertion operator?
Does c++ have arraylist?
What is & in c++ function?
What is anonymous object in c++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
How would you use qsort() function to sort an array of structures?
Can java be faster than c++?
How one would use switch in a program?
How are Structure passing and returning implemented by the compiler?
Is it possible to get the source code back from binary file?