Skip to content

Category Archives: C Language

Unicode is the encoding mechanism to assign a unique number to each character. The first 128 characters are assigned as ASCII value means Unicode and… Read More
Here, we will see how to show unreachable code errors using the C program. Unreachable statements are statements that will not be executed during the… Read More
Here, we will see how to print an inverted pyramid using a C program. Below are the examples: Input: 8Output: * * * * *… Read More
Here we will see whether a number can be expressed as the sum of two prime numbers using a C program. Below are the examples:… Read More
Here we will see how to print Pascal’s triangle using a C program. Pascal’s Triangle is a triangular array of binomial coefficients in which the… Read More
Here, we will see how to find the initials of a name using a C program. Below are the examples: Input: Geeks for GeeksOutput: G… Read More
Here, we will see how to print continuous character patterns using a C program. Below are the examples: Input: rows = 5Output:   A B C D… Read More
Here, we will see how to print a full diamond shape pyramid using the C program. Below are the examples: Input: 6Output:      *… Read More
Here, we will see how to find the sum of natural numbers using recursion. Below are the examples: Input : 5Output : 15Explanation : 1… Read More
Here, we will see how to check whether a number is a palindrome or not using a C program. Below are the examples: Input: Number… Read More
In C programming language, scanf is a function that stands for Scan Formatted String. It reads data from stdin (standard input stream i.e. usually keyboard)… Read More
This article focuses on discussing the elif and else if ladder and stairs problem and the solution for the same in the C and Python… Read More
fgets() reads a line from the specified stream and stores it into the string pointed by str. It stops when either (n – 1) characters… Read More
A Two Dimensional array of pointers is an array that has variables of pointer type. This means that the variables stored in the 2D array… Read More
C program to print 180-degree rotation of inverted half pyramid pattern using two approaches i.e. for loop and while loop. Input: Number = 5 Output:… Read More

Start Your Coding Journey Now!