Skip to content

Category Archives: C Language

In this article, we will discuss the difference between #define and #undef pre-processor in C language. Pre-Processor: Pre-processor is a program that performs before the… Read More
In this article, we will discuss how to perform reflection in C using computer graphics using logic rather than the direct matrix formula of translation… Read More
In this article, we will discuss how to draw a 2D cricket ground is being designed using computer graphics. Approach: Draw a circle using the… Read More
In this article, we will discuss how to draw the Rocket using Graphics. Approach: In main() function, call the launch() function. The launch() function is… Read More
In this article, will design a simple number memory game in the C programming language. It is a simple memory number game where a random… Read More
Memory is divided into smaller addressable units called bytes. Assume that these are small boxes as bytes. Each byte has its own address as per… Read More
In this article, we will discuss how to design a Hot Air Balloon in the C using Graphics. Approach: Draw a circle using the circle()… Read More
In this article, it is discussed how to design a Pendulum Clock in the C programming language using Graphics. Approach: Create two rectangles, one inside… Read More
In this article, we will discuss how to design the Olympics Logo using Graphics. Approach: Draw five circles according to positions in the logo using… Read More
In this article, we will discuss how to draw a Carrom Board using Graphics. Approach: Create the outline of the board using the rectangle() function.… Read More
In this article, we will discuss how to draw the Rocket using Graphics. Approach: Draw a straight line using the line() function that will act… Read More
Pragma Directives: The pragma directive is used to control the actions of the compiler in a particular portion of a program without affecting the program… Read More
In this article, we will discuss how to draw the Indian National Flag using Graphics. Approach: Draw a rectangle using the function rectangle(). Equally, divide… Read More
The Binary Exponential Backoff Algorithm prevents packet collisions during simultaneous access by randomizing moments at stations attempting to access the wireless channels. However, this randomization… Read More
In this article, we will discuss the difference between the break and continue statements in C. They are the same type of statements which is… Read More