expected '=', ',', ';', 'asm' or '__attribute__' before '.' token

前端 未结 3 1093
借酒劲吻你
借酒劲吻你 2021-02-01 19:56

\"enterCould not able to solve this.. I am implementing a queue. After writing the complete code I

3条回答
  •  难免孤独
    2021-02-01 21:02

    You can't initialize variable using Q.front = 0; Q.rear = 0; in global scope. Those statements should be inside main in your case.

提交回复
热议问题