Let’s move to a more interesting topic: function with structure. Before starting, let’s go back and revise the concept of passing values in function. void func(int number){ // here that […]
C Structure and Pointer
So, we have covered the basics of C structure. Now let’s move on to a little more advanced topic: how C structure can be accessed with pointers. Look at the […]
Modifying struct members
We have successfully declared and initialized a struct variable. However, the next thing is, how can we modify the struct members at a later point in our code? The answer […]
typedef in structure
Do you remember one thing in my previous post? To create a structure variable we need to write like this:struct player player1 = {“messi”, 37}; Here, the struct keyword at […]
Structure in C
Let’s introduce a new topic today : Structure. Before going through any of the basics, take a look at this example below: Let’s say you are asked to store name […]
3. Writing your first C program
So, Let’s start by writing our first ever code in C language. Open the codeblocks (or your preferred IDE) and write the code below. Figure 1: The code Here, I […]
2. Installing IDE for C Programming
Before choosing the right IDE for C, let’s get to know a little about what IDEs basically are. The IDE stands for Integrated Development Environment. While working on a short […]
1. A Quick Introduction to C
What is C? Simply put, C is a language used by computer programmers to interact with computers in directing computers how to make a simple calculator, or a video game, […]