Category: C++ Programs
Posts of Category: C++ Programs
  1. C Program to Print India Map

    In this article I am sharing the program to print India map. If you like it, please do share it!#include <stdio.h> main() { int a, b, c; int count = 1; for (b = c = 10; a = "- FIGURE?, UMKC,X...Learn More
    C ProgramsC++ ProgramsPrint FiguresProgramming Languages
  2. Program for Pascal Triangle in C and C++

    Program for Pascal Triangle in C and C++ Here I have shared simple program for pascal triangle in C and C++. Basically Pascal’s triangle is a triangular array of binomial coefficients. An example for how pascal...Learn More
    C ProgramsC++ ProgramsPrint FiguresProgramming Languages
  3. Factorial of Large Number in C and C++

    Here you will get program to find factorial of large number in C and C++. Factorial of big numbers contain so many digits. For example factorial of 100 has almost 158 digits. So there is no data type available ...Learn More
    Competitive ProgrammingC ProgramsC++ ProgramsDevProgramming Languages
  4. C/C++ Program for Union of Two Arrays

    Here you will get C/C++ program to find union of two arrays. For example: First array: {1, 3, 7, 9} Second array: {1, 4, 6} Union: {1, 3, 4, 7, 6, 9}   C/C++ Program for Union of Two Arrays Union of Two So...Learn More
    C ProgramsC++ ProgramsArrayProgramming Languages
  5. Program for Shell Sort in C and C++

    Here you will get program for shell sort in C and C++. Shell short is an improved and efficient version of insertion sort. In this algorithm we sort the pair of elements that are far apart by gap h. The process...Learn More
    C ProgramsC++ ProgramsArrayProgramming Languages
  6. C and C++ Program to Find Inverse of a Matrix

    Here you will get C and C++ program to find inverse of a matrix. We can obtain matrix inverse by following method. First calculate deteminant of matrix. Then calculate adjoint of given matrix. Adjoint can be o...Learn More
    C++ ProgramsC ProgramsArrayMatrixProgramming Languages
  7. C/C++ Program to Read Infinite Numbers and Arrange Them in Ascending Order

    In this program we are reading infinite numbers and then arranging them in ascending order. Here infinite means, the program should read numbers until a particular number is entered to terminate the reading ...Learn More
    C ProgramsC++ ProgramsPointerBubble SortProgramming Languages
  8. C/C++ Program to Find Substring in String (Pattern Matching)

    Here you will get C and C++ program to find substring in string. Pattern matching refers to find the position where a string pattern appears in a given string. If the required string is not present in given tex...Learn More
    C ProgramsC++ ProgramsStringProgramming Languages
  9. C/C++ Program to Remove Spaces From String

    For example given string is “the crazy programmer”. Now we have to remove all the spaces present in the string.   Before: the crazy programmer After: thecrazyprogrammer Below I have shared a program that ...Learn More
    C ProgramsC++ ProgramsStringLoopProgramming Languages
  10. Permutation of String in C and C++

    Here you will get program for permutation of string in C and C++. Permutation means all possible arrangements of given set of numbers or characters. For a string with n characters can have total n! arrangements...Learn More
    C ProgramsC++ ProgramsStringProgramming Languages
  11. C/C++ Program for Fibonacci Series Using Recursion

    Series 0, 1, 1, 2, 3, 5, 8, 13, 21 . . . . . . . is a Fibonacci series. In Fibonacci series, each term is the sum of the two preceding terms.   The C and C++ program for Fibonacci series using ...Learn More
    C ProgramsC++ ProgramsLoopFunctionProgramming Languages
  12. C/C++ Program to Find GCD of Two Numbers Using Recursion

    In this program we will use recursion and Euclid’s algorithm to find greatest common divisor of two numbers. The definition of Euclid’s algorithm is as follows: C Program #include<stdio.h> int g...Learn More
    C ProgramsC++ ProgramsFunctionProgramming Languages