Auto keyword (AUTO)

What is the advantage and disadvantage of using ‘auto’ keyword ??

Advantage: It is a keyword notifying the compiler to infer the type of the variable at compile time.
So in place of the datatype…when your write auto…it can handle any datatype

Refer this link once