Thread: C: Output a two-dimensional square array

  1. #1
    Registered User
    Join Date
    Oct 2020
    Posts
    5

    C: Output a two-dimensional square array

    Find the maximum and minimum elements of the matrix and swap the corresponding row and column (row for the maximum element, column - for the minimum)
    Last edited by fsbf; 10-28-2020 at 12:48 PM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    to convert two-dimensional array to one-dimensional

    No thoughts at all as to how to go about this?
    Just dumping your assignment isn't going to make us write all the code for you.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 10-25-2020, 01:55 AM
  2. Replies: 5
    Last Post: 06-19-2017, 04:46 AM
  3. Assigning One dimensional array to two dimensional array
    By lightning_star in forum C Programming
    Replies: 1
    Last Post: 03-19-2014, 09:44 PM
  4. Replies: 12
    Last Post: 09-02-2013, 07:50 PM
  5. Erroroneous output in calculating the square root of a number
    By abhishekcoder in forum C Programming
    Replies: 5
    Last Post: 05-02-2012, 06:29 AM

Tags for this Thread