我得到无效的免费和内存泄漏.这是我的代码:
/*=============================================================================
|
| Assignment: Test #2
| Class: Programming Basics
| Date: December 20th, 2017
|
| Language: GNU C (using gcc), OS: Arch Linux x86_64)
| Version: 0.0
| To Compile: gcc -Wall -xc -g -std=c99 kontrolinis2.c -o kontrolinis_2
|
+-----------------------------------------------------------------------------
|
| Description: The program which gets the input number, which indicates how
| many words there will be, then prompts the user to enter
| those words, and then displays a histogram in descending
| order …Run Code Online (Sandbox Code Playgroud)