# C++ Programming Code Examples

## C++ > Pyramid Patterns Code Examples

### Programs to print inverted half pyramid using * and numbers

C code All types of Linked List Operations -
This is a Program About Linked List. Supply no. of elements in the linked list. Node you want to add before. Node you want to add end. Before which node you want to add?...

Code Get Highest Order Set Bit of Number -
Highest position of a set bit from left to right in a number is said to be highest order set bit of that number. Highest order set bit of any negative integers is 31. Since, highest order...

Converts Decimal to Hexadecimal Number -
C program input decimal number and convert to Hexadecimal number system. The Decimal number system is a base 10 number system. Decimal number system uses 10 symbols to...

Find Factorial of a Number with Recursion -
C program to find factorial of a number using recursion. The factorial of a 'positive number' n is given by: factorial of n (n!) = 1*2*3*4....n The factorial of a 'negative number' does not

How to use Void (void) Data Type in The C -
Void in C means 'nothing' or 'no-value'. This is used either with pointer declarations or with function declarations. And declares function which takes no arguments but returns an...

C++ Program Implement Stack by Linked -
C++ program, "using iteration", implements the list of elements removed from the stack in last in first out mode using a linked list. A linked list is an ordered set of data elements,

Program to Accept the Height of a Person -
Take the height of a person as input and store it in the variable height. If the variable height is lesser than 150 cm, then print the output as "Dwarf". If the variable height is lesser than...

C Read and Write Strings gets() and puts() -
String is an 'Array of characters'. In this guide, we learn how to declare strings, how to work with strings in C language and how to use the 'pre-defined' string handling functions. String