# C Programming Code Examples

## C > Code Snippets Code Examples

### The tm structure contains the following members

Remove All Occurrences of Character from -
Program to remove all occurrences of a given character from the string using Loop. Enter a character to Remove from string. Function to "Remove all occurrences" of a character from

Program to implement a boolean function -
Color at stars position. Start in upper corner. Gives a message to user. For checking that a particular no. Decides whether output is 1 or 0. Normal mux implementation. Decides...

C++ Finds All Roots of Quadratic Equation -
Program accepts "coefficients" of a quadratic equation from the user and displays the roots (both real and complex roots depending upon the discriminant). 'ax^2+bx+c = 0' (where a, b,

C Program code Simple Account software -
Enter the Name of the Custumer. Enter the Acc.no of the Custumer. Enter the Balance of the Custumer. Enter the name of Customer whose rec. is to be modified. Enter the new

Find The Perfect Number In C++ language -
For example 6 is Perfect Number since divisor of 6 are 1, 2 and 3. Sum of its divisor is 1 + 2+ 3 =6 and 28 is also a 'Perfect Number' since 1+ 2 + 4 + 7 + 14= 28. Other 'Perfect Numbers': 496

C Program Prints All Odd Numbers 1 to N -
How to print Odd Numbers from 1 to N using loop in C programming. Input upper limit to print odd number from user. Store it in some variable N. Run a loop from 1 to N, increment

Convert Binary Code of a Number into its -
C program to using recursion, evaluates the gray code equivalent of a binary number. A gray is also represented using 0s and 1s. The speciality of gray code is that only one bit is

C Programming Language Median Sample -
A 'median' value is the value at the center of a sorted list. To median we need to sort the list in ascending or descending order. The List of 3, 5, 2, 7, 3 as our input list, to find out median