what is typeid operator in c

Total Post:19

Points:133

 1288  View(s)
Ratings:
Rate this:
Hi Expert,

what is typeid operator in c++

Thanks! 
  1. 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

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.