Alternative for auto

AUTO is a type specifier and using it directly it is showing warning after debugging.