C Tutorials

Solve “control reaches end of non-void function” Error

Hello everyone, In this article, we are going to discuss a common problem faced by beginners and also experienced programmers. Often when we run into the warning saying warning: control reaches end of non-void function. Generally, we ignore this error because most of the time as the program still runs the same even if this …

Solve “control reaches end of non-void function” Error Read More »

malloc() vs calloc() – Difference Between malloc() and calloc() in C

Here in this tutorial you will learn about difference between malloc() and calloc() in C. We all know that memory is available in limited size only, so it becomes important for us to use it efficiently. If we are writing a program that uses too much of memory resulting in wastage of memory or conversely …

malloc() vs calloc() – Difference Between malloc() and calloc() in C Read More »