0

Static Queue in C

How do I print the elements correctly? The program run good but I can't print the numbers in the correct order https://code.sololearn.com/cnlzlceWvS1U/?ref=app

1st Sep 2018, 3:02 AM
Diego Gongora
Diego Gongora - avatar
1 Resposta
+ 2
You are not initializing c->tama so you are indexing c->cola[] beyond the storage malloc gave you.
5th Sep 2018, 11:02 PM
John Wells
John Wells - avatar
Quente hoje
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes