Eating During Exam Break

My sugar drops so I need to be prepared, if I feel hungry can I go to the locker and eat for example a half of sandwich ? Does anyone do this, and is it allowed? Does it depend on the test center?