Computer Science, asked by saismitalala210, 1 year ago

Write a function in c++ which accepts a 2d array of integers and size as arguements and displays the elements which lie on diagonals

Answers

Answered by boomishadhamodharan
0

         If the 2D array is            

         The resultant 1D arrays is      12, 3, 9, 24, 25, 45, 9, 5, 18 

Similar questions