I have been asked in an interview how do you pass an array to a function without using any pointers but it seems to be impossible or there is way to do this?
How about varargs? See man stdarg. This is how printf() accepts multiple arguments.
man stdarg