Can anyone tell me auto and string keyword difference | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell me auto and string keyword difference

auto vs string

6th Aug 2023, 2:00 AM
HARSHIT singh
HARSHIT singh - avatar
1 Answer
+ 2
"Auto" is used for automatic type deduction of a variable based on the assigned value, while "string" represents a data type that allows working with strings in programming.
6th Aug 2023, 3:12 AM
Ivan Hyzhko