In C, I keep getting the error segmentation fault: 11. I am
trying to do priority queues to count the frequency of each
character In a file. Here is my Code...
This is the code to all of my priority queue, functions, I
believe that my problem is in printQueue that is giving me set
fault 11, but I am not sure.
This is the code for my main function where I use command line
to take in a text file and read through the data, then I call
create createQnode(), pusQueue(), popQueue, printQueue.
In C, I keep getting the error segmentation fault: 11. I am trying to do priority queues to count the frequency of each
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
In C, I keep getting the error segmentation fault: 11. I am trying to do priority queues to count the frequency of each
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!