How can you put p=o?
P is a integer. Do you even know what a integer is?
Even if I (or for that matter anyonw who has reached here) would not be a programmer, I would still know what
an integer is!!
The question here is not whether we can allot value like zero to it, but to the best of my knowledge, on making a case insensitive/sensitive comparison for two strings, a differnce is returned if they are not found to be equal..(diffrnce of ansi c values)
Now for both the cases we are comparing strings with unequal lengths, login has a strlen of 5 characters and pwd has 6 characters..
how can we equate l to p?
the whole point of me making l =0 and p=0 was to make sure that l and p accept values which are already defined in the arrays!
still, I might be wrong, feel free to correct me.