Question
ANSI C++ introduces new style of casts (const_cast, dynamic_cast, static_cast and reinterpret_cast). For the following C style cast which of the new cast syntax should be applied?
pDerived = (Cderived *) pBase;

Answers

dynamic_cast.   Your Comment






Search
Can you Answer!!
  • Q A positive integer that, when added to 1000 gives a sum which is greater than when multiplied by 1000. Find the positive integer.
  • Q Can you specify some the distinctive features of a ksds, key sequenced dataset?
  • Q There was a ques on work something like 2 typists type 2 papers in 4 hrs then in how much time will 5 typists take or something like that
  • Q What is empty tag?
  • Q Which awards were first presented in 1929?
  • Q Over which part of present-day India did the Pala dynasty rule?
  • Q Explain the Thawing of competent bacterial cells ?
  • Q According to National Institution for Transforming India (NITI Aayog), by which year will India become free from poverty, dirt, corruption, terrorism, casteism and communalism?
  • Q Describe your off season program organization. Do you plan on running "open gym", attending summer league, going to team camp, etc.
  • Q How can you set dml handler?
  • Q Which Is the southern most Himalayan belt, consists of foothills?