what is typeid operator in c

Total Post:19

Points:133
 1126  View(s)
Ratings:
Rate this:
Hi Expert,

what is typeid operator in c++

Thanks! 
  1. Post:604

    Points:4228
    Re: what is typeid operator in c

    Hi,


    typeid is  used to obtain type of an object. You must include the header <typeinfo> in order to use typeid.

    e.g.

    typeid(object)

Answer

NEWSLETTER

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