0
Why is islower function always showing 0 no matter what character I use?
In documentation, they specified dat if islower accepts a lowercase character, the output number should be more than 0 which is not the case with the program attached to it. https://code.sololearn.com/c617AzNt8975/?ref=app
4 odpowiedzi
+ 5
Give single quotes to the char like t='p'.
+ 2
In C, 'p' and "p" both are different. Double quotes represent array which ends with a null character.
+ 1
Thank you so much
0
Thanks, it worked. But what's the intuition behind it??