String class STL doubt

lexical difference? or lexo graphical difference. I think thats what Prateek bhaiya said in the video.

Its related to compare function

Hello @PranavM16 he mean the lexicographical differece.

@tusharaggarwal272 What is its meaning? just know its something related to strings. Can you explain with the help of an example?

@PranavM16 lexicographical means that it should be sorted aphabetically.
like the strings :
apple
mango
banana
papaya
these in lexicographical order will be like this:
apple
banana
mango
banana
if you still have any doubt you can ask here:
Happy Learning!!

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.