C LanguagePass 2D-arrays to functions