"The way it is" doesn't give you an array full of zeros. But you don't have to call memset
anyway. If you are only to use buff
inside of the loop, I think it is better to keep it in the scope of the loop:
while(true) //Infinite loop
{
char buff[60] = {}; // buff is full of zeros
.....
....
}