đây là hàm chèn một phần tử vào bang:
ai có thể giải thích đoạn code này được không?
Code:
int fifoput(void *next) { if(num == N) return(0); else { table[in] = next; num++; in=(in+1)%N; return(1); } }
Code:
{ table[in] = next; num++; in=(in+1)%N; return(1); }
Comment