In reply to confused kid:
This is not a queue. It is a fixed size array. You have to elaborate the issue. For the current implementation as shown, use a tick (') before assigning the values as follows:
int h[8]= '{0,1,2,3,4,5,6,7}; // ' before assignment