# C Program

## C program pattern (1 1 1 1 1 4 4 4 4 4 9 9 9 9 9 16 16 16 16 16 25 25 25 25 25)

In this article, we are going to create a simple C program to create a simple pattern. Writing programs for creating patterns can be a little bit tricky, but with the right logic and the basic knowledge of C language, you can easily write programs for any pattern. C program pattern (1 1 1 1 […]

## C program pattern (1 23 456 78910)

Pattern programs can be a little bit tricky, but with proper knowledge, and simple logic for the pattern, you can simply create any pattern in C. Here is the pattern that we are going to create – 12 34 5 67 8 9 10 As you can see from the above pattern, it is a

## C program pattern 10101 10101 10101 10101 10101

In this article, we are going to understand and implement an interesting C pattern program, in which, we are going to create the following simple pattern – 1010110101101011010110101 If you first see the pattern, there is a probability that you might scratch your head, but with some basic knowledge of C language, and applying simple

## C program pattern 11111 11111 11111 11111

Pattern programs can be a little bit tricky, but if we know the basic concepts and logic behind the given pattern, we can easily write a C program to create that pattern. In this article, we are going to understand and create a simple pattern through our C program, which looks like this – 1111111111111111111111111

## C Program Pattern (1 12 123 1234 12345)

Pattern programs can be a bit tricky to perform, but by applying simple logic related to the pattern, and using different concepts like a loop, you can easily create simple to complicated patterns. C Program Pattern (1 12 123 1234 12345) You can refer to the given video in order to have a practical and

## C Program to Find Perimeter of a Rectangle

In this article, we are going to understand and implement a simple C program, to find the perimeter of the rectangle. To calculate the perimeter of a rectangle is very easy using a C program, provided that you are already familiar with the simple formula to calculate the perimeter of a rectangle, and you know

## Strcpy Function in C

At times, in our C programs, we might be required to copy one string to another, and in such cases, we can make use of the standard library function in C, which is the Strcpy function. Simply “Strcpy” stands for string copy, and the name says what the function is going to do. Strcpy Function

## Find First and Last Digit of a Number in C

In this article, we are going to understand and implement a simple C program, in which, we need to find the first and last digits of a number. For example, if the given number is 1234, then the first digit is 1, and the last digit is 4. We need to get both the digits.

## C program to find LCM of Two Numbers

In this article, we are going to learn about a simple C program, to find the LCM of two given numbers. The program is very simple, provided that you already know how to calculate the LCM of given numbers, and you know some basics of C programming. Let’s understand what is LCM first, and then

## C Program to Find Perimeter of Triangle

In this article, we are going to write a simple C program, in which we need to calculate the perimeter of the triangle. Calculating the perimeter of a triangle is very simple, through a C program. The perimeter of a triangle can be simply understood as the sum of all three sides of the triangle.