C programming

File Handling

Suppose you are given a task to generate average of 50 numbers. So, each time you run the program you have to type 50 numbers from your keyboard and then […]

C programming

C Structure and Function

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 programming

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 […]

C programming

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 […]