# C Programming Code Examples

## C > Strings Code Examples

### Program to concatenate two strings without using strcat

Program to Find the Vertex Connectivity -
C++ Program finds vertex connectivity of a graph. A vertex in an undirected connected graph is an articulation point iff removing it disconnects the graph. 'Articulation points'

C++ Language Samples Separate Chaining -
Internal method to test if a positive number is prime. Not an efficient algorithm and Internal method to return a 'prime number' at least as large as n. Assumes "n > 0". Insert item x into

Code Converts Binary Number to Decimal -
Program code input binary number from user & convert binary number to decimal number system. The Binary Number system is a base 2 number system and uses only 2 symbols to

Whether entered Matrix is Magic Square -
A magic square is a simple mathematical game developed during the 1500. Square is divided into equal number of rows and columns. Start filling each square with the

Structure is A Compound Data Type that -
To store Student details like student 'name', student 'roll num', 'student age'. You have 2 ways to do it, one way is to create different variables for each data, but the downfall of

C++ Compute Combinations by Factorials -
Prints a total number of combination possible for given n and r value. The "time complexity" of this algorithm is O(n). This algorithm takes the input of n and r value. Function to find the

Converting Binary Octal in C++ Language -
To convert binary to octal in C++, you have to ask to the user to enter any number in binary to "convert it into octal" to display equivalent value in octal on the screen as shown in code

Program Code Displays Number in Words -
C Language code input a number and print it into words using for loop. Input number from user. Find total digits in n. Store reverse of n in j. Find total trailing zeros. Extract last digit