Sort arguements

‘s+n’ does not make sense as ‘s’ is an array of strings while ‘n’ is an integer. how did it work?

@jagritmitra08 it makes perfect sense how you sort array of numbers sort(a,a+n) right? so array of strings is the same
i hope its cleared if yes dont forget to mark the doubt resolved and hit like :smiley: