# C Programming Code Examples

## C > C on Unix Code Examples

### A message queue program that shows a client server implementation

For Statement is Typically used to Count a -
The "First section" specifies the starting point for the count. The "Second section" sets the counting limit. The "Last section" determines the "counting frequency". The formula of the

C++ Sample code Perform the Shaker Sort -
In each iteration, Sorting is done in two Parts. At first, "set the highest" value to the highest index and decrement the index. Then Lowest Value to the Lowest Index and increment the

Triangle given the lengths of its sides in C -
C Programming code gives all details of a Triangle given the lengths of its sides. Enter the lengths of the three sides of the triangle. S is the semiperimeter of the triangle. D is...

C Program to Count Words, Digits, Vowels -
Program code count number of words, digits, vowels using pointers. Program code Finding number of words, blank spaces, digits, special symbols, vowels using pointers. Counting the

C Program Code Concatenate Two Strings -
C programming code concatenate 2 strings in single string. Concatenation of 'two strings' is the process of Joining them together to form a new string. Concatenation appends second

Mathematic Functions Calculate Percentile -
The array of integers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no

C Program Convert Binary to Hexadecimal -
C Language program takes a binary number as input and converts to hexadecimal. Take a binary number as input. And divide the binary number into groups of 4 bits. For each group

C++ Program Codes Print Prime Numbers -
For example, to print prime number between '3 to 29', here 3 is the starting number and 29 is the ending number, enter the starting and ending number to find and print all the prime