array util program in c