What is static_cast in C Plus Plus?

Total Post:149

Points:1043
 1345  View(s)
Ratings:
Rate this:
Hi Expert,

What is static_cast in c++?

Thanks in advance. 
  1. Post:604

    Points:4228
    Re: What is static_cast in C Plus Plus?

    The static_cast operator performs a non -polymorphic cast.For example,it can be used to cast a base class pointerinto a derived class pointer.
    It can also be used for any standerd conversion.o runtime checks are performed.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!