# C Programming Code Examples

## C > Pyramid Patterns Code Examples

### Upside Down Triangle Printing In C

```
```

```
```

Find GCD of Given Numbers use Recursion - C Program Code to using Recursion, finds the GCD of the two numbers entered by the user. The user enters 2 numbers by using a space in between them or by pressing enter after each

2d example insertion sort [linked list] in C - C program code to 2d example insertion sort [linked list]. Insert a node directly at the right place in the linked list. Insert some numbers into the linked list. Print the list. Free the list

C Find Maximum Between Three Numbers - C program to input three numbers from user and find maximum between three numbers using conditional/ternary operator ?:. How to find maximum between three numbers using

Code Designated initializers to Set Values - C Programming designated initializers to set values of structure members. Two ways to set the values of a struct member. Another way to do the same using designated initializers.

C++ Program to Perform Greedy Coloring - Give all its neighbouring colours a vertex, but before that keep a check on used colours and unused colours. 'Only assign', unused colours to the upcoming vertex. The problem takes a

Perimeter of a Circle Rectangle & Triangle - This C Program calculates the perimeter of a circle, rectangle and triangle. This program is used to find the perimeter of circle, rectangle and triangle. Perimeter of rectangle: 2 *(x+y)

C++ Programming Print Table of Number - You have to ask to the user to enter a number and start "multiplying" that number from 1 to 10 and display the multiplication result at the time of multiplying on the screen which is the