String larger than int?

Is a string always bigger/larger than an int , I don’t quite understand this, can you please explain in detail

Is “a” larger than 68000?

Why are you even comparing strings to int? They are different data types, what’s the point of comparing different data types ?

yeah i realise that
but in the video only he said that “strings are larger”, that’s what I don’t understand

I think you can safely ignore that. What he means to say it that strings are larger in hierarchy that means int + string = string. Nothing else than that.

1 Like

By hierarchy you mean that if we have two data types added together then the smaller one will be converted to bigger , right?

yes. _____________________

1 Like