Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Which casting operator can cast a pointer to any other type of pointer in ANSI C++?

  Shared By: Shruti Sharma    Date: Dec 15    Category: C++ Programming    Views: 803

Answer:

Options

a) const_cast
b) dynamic_cast
c) reinterpret_cast
d) static_cast

Answer : c) reinterpret_cast

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: