> The following code: > > #include > > // const int const_asize = 10; > #define define_asize = 10; > > int array[define_asize] = {1,2,3,4,5,6,7,8,9,0};[/color] You don't need the size. The compiler can count the initializers and size the array for you : int array[] = {1,2,3,4,5,6,7,8,9,0}; You can retreive the size by applying the definition of an array ...