In lite-C, sizeof() is a macro, not a function. It returns the size of the variable type, not of the whole array.