sup guys its me the newbie c student again! hope u guys didnt get tired by my whole lots of newbie questions well.. i have another doubt to be cleared.. here's it:

lets say we have 2 strings:
Code:
char a[] = {'h','e','l','l','o','\0'};
char b[10] = "hello"
is b[5] == a[5]?

from what i know, b[5] is = \0, therefore, i deduced that b[5] == a[5] is true. what if i compare b[6] == a[5] ?? am i correct?

Thanks for all the answers, im learning alot of stuff here