1 - What is an auto variable?
An auto variable is a placeholder type specifier whose type will be automatically deduced from the initializer.
2 - Why is it convenient to use?
Gives flexibility to functions when the type is unknown or when using multiple variable types.
3 - When should you use it?
When you don’t know what variable types will be passed in.
4 - When will the type of an auto variable be determined (compile-time or run-time)?
The type of an auto variable will be determined at compile time as the compiler automatically detects the variable’s data type.