At 10:23 line number 8 why is he checking s!=NULL and assigning input =s?
At 10:23 line number 8 why is he checking s!=NULL?
hi @riagoel3999,
he is checking if the string is not empty then he assigns that to input (basically this is initialization)
This will happen everytime function will get called?
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.
Why are we point input to the first character everytime when we want the next character?
coz its null initially
But it is static so it will be null only once . in next function cal it wont be null and also s wont be null