# C Programming Code Examples

## C > Strings Code Examples

### C String function - strncat - It concatenates n characters of str2 to string str1

C Program Coding Multiply Two Numbers -
Stores two floating point numbers in variable firstNumber and secondNumber respectively. Performs multiplication and stores the result in variable productOfTwoNumbers. Result up

C Language Codes Find Length of a String -
How to find 'Length of a string' without using in-built library function strlen() in C language. Effective way to find length of string without using strlen() function. In the C every string is

C Program to displaying Day of the Month -
C programming code to implement calender. Program example to display day of month. Program will accept year, month and date from the user and will display the day of the

The C++ Booth's Multiplication Algorithm -
"Multiply two Signed numbers" using Booth's algorithm. Booth's multiplication algorithm is a multiplication algorithm that multiplies two signed 'binary numbers' in two's complement

Count total number of notes in an amount -
C program input amount and print minimum number of notes (Rs. 500, 100, 50, 20, 10, 5, 2, 1) required for the amount. There any many optimal algorithms to solve given problem.

Program to Find Inverse of a Graph Matrix -
C++ code displays the Gauss Jordan method of computing inverse of a matrix. it proceeds with row by row "reduction of matrix" to unit matrix column-wise. First enter the order of

Program Copy String with strcpy Function -
Input a "string from user" and store it to some variable say text1, declare another variable to store "copy of first string" in text2. Run a loop from 0 to end of string. Loop structure should

C Power of a Number using Pow Function -
C Programming Code to input two numbers from user and find their power using pow() function. How to find power of a number in c. How to use pow() function in C programming.