why here “it” does not have a datatype?
where is auto used ?
for(auto it=s.begin(); it<=s.end();it++)
String lecture 1 datatype
@mukokhanna
hello mukesh,
we are using auto keyword here.
it will automstically detect the datatype , so no need to mention datatype .
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.