Skip to content

Category Archives: C Programs

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
In this article, we will discuss the approach to create an E-Library Management System where the user has the following options: Add book information. Display… Read More
Lamport’s Logical Clock was created by Leslie Lamport. It is a procedure to determine the order of events occurring. It provides a basis for the… Read More
Command Line Interface: CLI is a text-based user interface (UI) used to view and manage computer files. Command-line interfaces are also called command-line user interfaces,… Read More
Rock Paper Scissor (which is also called Stone Paper Scissor) is a hand game and played between two people, in which each player simultaneously forms… Read More
Lex is a computer program that generates lexical analyzers. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the lexer… Read More
Given a string S consisting of space-separated integers, the task is to write a C program to take the integers as input from the string… Read More