Category Archives: Arrays Programs

Write a C++ Menu Driven Program for Stack Operations Using Arrays

C++ Menu Driven Program for Stack Operations Using Arrays  

  OUTPUT ::  

 

Write a C++ Menu Driven Program for Queue using Arrays

Write a C++ Menu Driven Program for Queue using Arrays  

  OUTPUT ::  

 

Write a C++ Program to Find Sum Above and Below Main Diagonal of Matrix

Write a C++ Program to Find Sum Above and Below Main Diagonal of Matrix  

  OUTPUT : :  

 

Write a C++ Program to Print Lowerhalf and Upperhalf Triangle of Matrix

Write a C++ Program to Print Lowerhalf and Upperhalf  Triangle of Matrix  

  OUTPUT : :  

 

Write a C++ Program to Find Sum of Diagonals of Matrix

Write a C++ Program to Find Sum of Diagonals of Matrix  

  OUTPUT : :  

 

Write a C++ Program for Linear Search in Arrays

Write a C++ Program for Linear Search in Arrays   In linear search algorithm, we compare targeted element with each element of the array. If the element is found then its position is displayed. The worst case time complexity for linear search is O(n).  

  OUTPUT : :  

 

Write a C++ Program to Find Largest and Smallest Element of a Matrix

Write a C++ Program to Find Largest and Smallest Element of a Matrix  

  OUTPUT : :  

 

Write a C++ Program for Selection Sort using Arrays

Write a C++ Program for Selection Sort using Arrays  

  OUTPUT ::