# C

## C program to Add N numbers

The programs below takes a positive integer (let say n) as an input from the user and calculates the sum up to n.   Let’s write a program to print sum of N number.   Step 1: Let’s open turbo… Continue Reading →

## C program to Display 1D numbers in Array.

We know that An array is a sequence of data item of homogeneous value(same type).Here is a program which will ask to provide input from user and display them on screen.   Let’s write a program to print all… Continue Reading →

## C program to print factorial of any number by using while loop.

Let’s write a program which print factorial of any number.   Step 1: Let’s open turbo c and write the following code.   // Add preprocessor #include<stdio.h> #include<conio.h> void main() { int  n,i=1; long int  fact=1;   // Clear screen… Continue Reading →

## C program to find table of any number by using while loop.

In this article we learn how to print table of any number by using while loop.   Let’s write a program to print table of any number.   Step 1: Let’s open turbo C and write the following code:  … Continue Reading →

## Program of table of any number in C.

Table : A table is a set of data arranged in rows and columns.   Let’s write a program of table of any number in C.   Step 1: Let’s open turbo C/C++ and write the following code.   //… Continue Reading →

## C Program to Print Transpose of Matrix.

Transpose: The superscript “T” means “transpose“. Another way to look at the transpose is that the element at row r column c in the original is placed at row c column r of the transpose.     Let’s write the… Continue Reading →

## Program of Floyd’s triangle in C.

Floyd’s triangle:  Floyd’s triangle is defined by filling the rows of the  triangle with consecutive numbers, starting with the number one in the top left corner.   Let’s write a program which prints The Floyd’s triangle .   Step 1:… Continue Reading →

## C Program to Concatenate of two strings

Concatenation:- string concatenation  is the operation of joining character strings end-to-end. For example: “ the concatenation of “snow” and “ball” is “snowball”.       Let’s write a program to Concatenate two Strings.     Step 1: Let’s open Turbo C and… Continue Reading →

## Program to add two matrices of order 3X3 in C

Let’s write the following code to find sum of two matrices   Step 1:- Let’s open Turbo c and write the following code.   Code:     //Add preprocessor   #include<stdio.h> #include<conio.h> void main() {   //Declaring variables int… Continue Reading →

## C program to check whether given number is palindrome or not.

C Program to check whether given number is Palindrome or not.   Palindrome:-  An Palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. Allowances may be made for adjustments to capital letters, punctuation,… Continue Reading →