what is typeid operator in c

Total Post:19

Points:133
 1165  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