Hi All,

In c programming we get Debug assertion failed application error when we use malloc() and free() functions
so anyone know about this error..? and why we get this error..?

Thanks

There could be billions of reasons why debug assertion happens. We need to see your program so that we can compile and test it. If that's not possible then you will just have to debug it yourself. Place to start is by commenting out large blocks of code so that you can identify where in the program the problem occurs. Check for buffer overruns and use of bad pointers, which are the two most common errors.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.