Skip to content

Category Archives: C Programs

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 design a 2D football ground using computer graphics. Approach: At first, create a rectangle using the rectangle()… 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
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
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
The producer-consumer problem is an example of a multi-process synchronization problem. The problem describes two processes, the producer and the consumer that shares a common… Read More