What does an auto keyword do in C++?
Answers
Answered by
1
Type Inference in C++ (auto and decltype) ... The auto keyword specifies that the type of the variable that is being declared will be automatically deducted from its initializer. In case of functions, if their return type is auto then that will be evaluated by return type expression at runtime.
Similar questions
Math,
6 months ago
English,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Environmental Sciences,
1 year ago