Stringtoint function

why are we not passing anything in this function string toint() while creating a binary tree? how is it working if nothing is being passed ?

hello @nidhigupta847
it is becuase we have defined a as global char array ,
and global array are accessible from anywhere, thats why no need to pass it again from stringtoint().

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.