Home >

column major order

Advertisement
  • 2D Array initialization of columns vs rowsFebruary 1

    If I have an array of 3 rows and 5 columns like this: int arr[3][5]={0}; Now I want to input some numbers so I do like this: int arr[3][5] ={10,8,9} and now the array is set like this: 10 8 9 0 0 0 0 0 0 0 0 0 0 0 0 But what I want is that actually t

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.293 s.