why we are using auto as datatype?
what is its meaning??
Doubts regarding find algorithm
@dreamerekta
auto is keyword which is used in C++ for runtime identification of datatype. So if you use this then you don’t have to worry about writing correct datatype. It will automatically assign it.
For eg:- you need to iterate a vector<vector>v then you can easily do it with less typing.
for(auto x : v) {
for(auto y : x){
cout<<y;
}
}
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.