Skip to content

Category Archives: C Language

In C/C++, strcat() is a predefined function used for string handling, under string library (string.h in C, and cstring in C++). This function appends the… Read More
C language has standard libraries that allow input and output in a program. The stdio.h or standard input-output library in C has methods for input… Read More
C is a procedural programming language. It was initially developed by Dennis Ritchie as a system programming language to write an operating system. The main… Read More
Pre-requisite: if-else This article focuses on discussing what happens when the print statement is used inside the if-else conditional statement. For example: Consider the below… Read More
This tutorial assumes that the reader has a basic knowledge of socket programming, i.e has a familiarity with basic server and client models. In the… Read More
The task is to design the Tower of Hanoi using computer graphics in C/C++. Tower Of Hanoi: It is a mathematical problem where there are… Read More
Railway ticket booking system is implemented by C programming. It is as same as one can see while we are going for online ticket booking.… Read More
Float is a 32 bit IEEE 754 single-precision Floating Point Number 1 bit for the sign, (8 bits for the exponent, and 23* for the… Read More
In this article, the topic is to understand the difference between exit() and break. exit(): When a user wants to exit a program from this… Read More
Given an input value N, the task is to allow taking only integer input from the user. Now, if the user enters any input other… Read More
The Standard Function Library in C is a huge library of sub-libraries, each of which contains the code for several functions. In order to make… Read More
A structure is a user-defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different… Read More
The Spiral/Clockwise Method is a magic tool for C/C++ programmers to define the meaning of syntax declaration in the head within seconds. This method was… Read More
Dangling pointer: A pointer pointing to a memory location that has been deleted (or freed) is called a dangling pointer. There are three different ways… Read More
In C graphics, the graphics.h functions are used to draw different shapes like circles, rectangles, etc, display text(any message) in a different format (different fonts… Read More