Malloc (or ‘memory allocation’) is an exceptionally useful tool in C that allows the programmer to create dynamically behaving arrays…
A Linked List is a data structure that arranges data from a given input into a stored ‘list’. Each item…
Strings in C are handled differently to standard Java as there is no set ‘String’ library. The following example will…
Creating a string in ANSI C is very simple, as it is simply an array of characters. However, creating an…
Reading in a text file in ANSI C can be done in many different ways. This example will show how…
Switch Statements are modified if statements with a different syntax. These are often used when a user wishes to return…
If statements use equality expressions which allows the program to deduce when to alter or return certain variables or functions…
Iteration statements (or loops) are used for a variety of reasons, and have very effective outcomes. Popular iteration statements are…
Hello World in C is even more simple than Java: #include <stdio.h> int main() { printf(“Hello World!”); return(0); } int…
Hello World is probably the first thing anyone should ever do in any programming language. It’s there to give a…