To convert a one dimensional array into a two dimensional array using C

Discussion in 'Software' started by amrutha0303, Aug 3, 2010.

  1. amrutha0303

    amrutha0303

    Joined:
    Aug 3, 2010
    Messages:
    2
    Hello There,
    i have a single dimensional array which i want to convert into a two dimensional array of size 5 by 5 using C.

    The single dimensional array is of the form: 1323132331112322123112323
    I want it in this form:
    1 3 2 3 1
    3 2 3 3 1
    1 1 2 3 2
    2 1 2 3 1
    1 2 3 2 3

    Can any one help? Any help is appreciated.
    Thanks.
    amrutha0303, Aug 3, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hung
    Replies:
    2
    Views:
    378
    Steve Jackson
    Aug 12, 2003
  2. Trs80
    Replies:
    0
    Views:
    428
    Trs80
    Jun 21, 2009
  3. sherkhanthegreat@gmail.com
    Replies:
    13
    Views:
    1,151
    Tigger
    Mar 27, 2010
  4. amrutha0303
    Replies:
    0
    Views:
    959
    amrutha0303
    Aug 3, 2010
  5. Neal
    Replies:
    0
    Views:
    1,447
Loading...

Share This Page