Blog

The Correct Return Type Of main()

The return type of main must be int, not void. It returns zero to indicate successful termination, otherwise a non-zero value for an abno...

How To Properly Compare Strings

In C, we can't compare strings with == or !==. We have to use functions declared in the string.h header file. Let's see why and how to do it

How To Get The Size Of An Array

Sometimes we want to know the size or the number of elements of an array, perhaps because we want to create a for loop that processes eac...