WHAT IS TYPEID OPERATOR IN C

Lady Bird Johnson

Total Post:20

Points:140
Posted by  Lady Bird Johnson
 942  View(s)
Ratings:
Rate this:
Hi Expert,

what is typeid operator in c++

Thanks! 
  1. AVADHESH PATEL

    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!