Skip to content

Category Archives: C Programs

In C, iscntrl() is a predefined function used for string and character handling. ctype is the header file required for character functions. A control character… Read More
In Turbo C graphics the graphics.h functions are used to draw different shapes(like a circle, rectangle, etc), display text(any message) in different formats (different fonts… Read More
In C/ C++, like normal data pointers(int *, char *, etc), there can be pointers to functions. Every function created in a program gets an… Read More
Many of the features of the OpenGL API are very useful and powerful. But, it’s quite possible that OpenGL programs may contain errors. So, it… Read More
In Turbo C graphics the graphics.h functions are used to draw different shapes like circle, rectangle, etc, display text(any message) in a different format (different… Read More
The gotoxy() function places the cursor at the desired location on the screen. This means it is possible to change the cursor location on the… Read More
In this article, we will discuss the scenarios regarding adding white space before or after the format specifier in a scanf() function in C Programming… Read More
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