# C Programming Code Examples

## C > Strings Code Examples

### Find the Frequency of the Word 'the' in a given Sentence

Bubble Sorting on int array in C Language -
C program bubble sorting code on int array. Reading in numbers. Sorting them using a bubble sort. Comparing adjacent elements. Exchange elements. Display sorted list.

Find the Length of the Linked List without -
C Language program Find the Length of the linked list without using recursion. Program, using iteration, counts the number of nodes in a Linked List. A linked list is an ordered set

Code Print Prime Numbers in given Range -
C program print all prime numbers between 1 to n. Input upper & lower limit to print prime. Find Prime numbers between 1 to n. Assume that the current number is Prime and check if

C Programming Language Mode Program -
C In Statistics Maths, a mode is a value that occurs the highest numbers of time. Example assume a set of values 8, 5, 4, 7, 8. mode of this value set is 8 as it appears more than any

Assignment Operators in The C Language -
C Programming to assignment operators. An Assignment Operator is used for assigning a value to a variable. C code demonstrate the working of assignment operators. The most

Use of typedef in Structure in C Language -
Typedef makes the code short and improves readability. In the above discussion we have seen that while using structs every time we have to use the lengthy syntax, which makes

How to using Switch in a C program code -
C programming using switch: The number chosen. Get the choice input. Pick a number between 1 and 20. Check for invalid selection. Selects invalid choice message. Jumps to the

C++ Computes Cross Product of 2 Vectors -
C++ Program to find the cross product of two vectors. In mathematics, the cross product or vector product is a "Binary Operation" on two vectors in three-dimensional space. It results