I am a little confused about the difference between zeros and nulls in C. My programming friend (who uses C++ if that matters) says that in C they are the same thing. But if i was reading values out of an array or reading an array wouldnt the array stop being read at a null? If they were the same my array would stop being read at a zero.

A problem arose when I was passing an array from another language into a C library. If I passed in zeros the C function would not write to the array but if i passed in ones for instance everything was fine.

Does this make any sense?