Global Variable in C

Global variables in C are declared outside any functions and usually at the top of the program as shown below. They can be used in the program inside any block of code. Properties of a Global Variable: Global variables are …

Read moreGlobal Variable in C

Local Variable in C

A variable that is declared within the body of the function or block is called a local variable. This variable is used only within that block or function where it was created, other classes cannot access it. And is destroyed …

Read moreLocal Variable in C

Kruskal’s Algorithm in C

In this article, you will learn the implementation of Kruskal’s Algorithm in C programming and starting with Kruskal’s Algorithm. Kruskal’s Algorithm It is a greedy algorithm that is directly based on MST (Minimum Spanning Tree). Kruskal’s algorithm finds a minimum …

Read moreKruskal’s Algorithm in C

Round Robin Scheduling in C

This article contains the implementation of the Round Robin Scheduling in C Programming with the explanation, an example, it’s advantages and disadvantages. If we consider large management or organization with multi-users and with a time-sharing system, in such cases response …

Read moreRound Robin Scheduling in C

C – Storage Class

Every variable has a storage class that defines the characteristics of the variable. It tells the compiler where to allocate memory for a variable, it also determines the scope of the variable, visibility, and lifetime of a variable. There are …

Read moreC – Storage Class

C – Preprocessors

As the “pre” means beforehand, similarly it means processing something before passing it on further. The preprocessor is a program that processes the source program before it is passed to the compiler. So we can say that it is a …

Read moreC – Preprocessors