append to char array

What is this line of code for?

  if (sizeof(array) >= 1499) {array = "";}

sizeof(array) will always be 1500.