Array Programs In C

Array Programs In C

  1. C Program to accept elements in an array and display it
  2. C Program to accept elements in an array and display sum of all the elements
  3. C Program to insert element in between an array. ( INSERTION )
  4. C Program to delete element from an array. ( DELETION )
  5. C Program to perform Transpose of a Matrix
  6. C Program to find Minimum element in an array
  7. C Program to find highest minimum temperature and lowest maximum temperature
  8. C Program to accept 10 numbers and print first five numbers in original order and print last five numbers in reverse order
  9. C Program showing Passing array to function. Program finds the average of 5 marks input by user
  10. C Program to initialize a character array and display the initialized character array in reverse order
  11. C Program to generate histogram of entered number
  12. C Program to enter values into a two-dimensional integer array of size (4 X 3) and then display it in matrix form
  13. Write a c program to enter values into a two-dimensional integer array of size (4 X 3) and then display the elements of the second row
  14. C Program to find the sum of elements that are greater than 5 within a two-dimensional array through a function receiving the array as arguments
  15. C Program To Accept 5 Student - Roll No, Marks in 3 Subjects of each student and Calculate Total, Average and Print it along with student roll Number
  16. C Programs to multiply two Matrices
  17. C Program to print a diagonal matrix with diagonal value enter by user
  18. C Program to print a anti diagonal matrix with diagonal value enter by user
  19. C Program to print the sum of diagonal values and anti-diagonal values of a matrix
Pointer Programs In C

Pointer Programs In C

Recursion Program In C

Recursion Program In C

Pattern Programs In C

Pattern Programs In C

  1. Program to print the given pattern :
    *
    * *
    * * *
    * * * *
    * * * * * 
  2. Program to print the given pattern :
    *
    * *
    * * *
    * * * *
    * * * * *
    * * * * * * ..... till n rows
  3. Program to print the given pattern :
    1
    1 2
    1 2 3
    1 2 3 4
    1 2 3 4 5 .... till n rows
  4. Program to print the given pattern :
    1
    2 2
    3 3 3
    4 4 4 4
    5 5 5 5 5 .... till n rows
  5. Program to print the given pattern :
    1 1 1 1 1
    2 2 2 2 2
    3 3 3 3 3
    4 4 4 4 4
    5 5 5 5 5
  6. Program to print the given pattern :
    5
    5 4
    5 4 3
    5 4 3 2
    5 4 3 2 1
  7. Program to print the given pattern :
    1 2 3 4 5
    1 2 3 4
    1 2 3
    1 2
    1
  8. Program to print the given pattern :
    5 4 3 2 1
    5 4 3 2
    5 4 3
    5 4
    5
  9. Program to print the given pattern :
            *
          * *
        * * *
      * * * *
    * * * * *
    
  10. Program to print the given pattern :
            1
          1 2
        1 2 3
      1 2 3 4
    1 2 3 4 5
  11. Program to print the given pattern :
            5
          4 5
        3 4 5
      2 3 4 5
    1 2 3 4 5
    
  12. Program to print the given pattern :
    1
    * *
    1 2 3
    * * * *
    1 2 3 4 5 .... till n rows
  13. Program to print the given pattern :
    1                 1
    1 2             1 2
    1 2 3         1 2 3
    1 2 3 4     1 2 3 4
    1 2 3 4 5 1 2 3 4 5
    
  14. Program to print the given pattern :
    1                 1
    1 2             2 1
    1 2 3         3 2 1
    1 2 3 4     4 3 2 1
    1 2 3 4 5 5 4 3 2 1
    
  15. Program to print the given pattern :
    1                 5
    1 2             5 4
    1 2 3         5 4 3
    1 2 3 4     5 4 3 2
    1 2 3 4 5 5 4 3 2 1
    
  16. Program to print the given pattern :
    1
    2 6
    3 7 10
    4 8 11 13
    5 9 12 14 15 ... till n rows
  17. Program to print the given pattern :
    ******** ********
    *******   *******
    ******     ****** 
    *****       *****
    ****         ****
    ***           ***
    **             **
    *               *
     
    *               *
    **             **
    ***           ***
    ****         ****
    *****       ***** 
    ******     ******
    *******   *******
    ******** ********
    
  18. Program to print the given pattern
     
          *
         ***
        *****
       *******
      *********
       *******  
        *****
         ***
          * 
    
  19. Program to print the given pattern :
    8 4 2 1
    4 2 1
    2 1
    1
  20. Program to print Pascal triangle :