What do you mean, "didn't want to process data"? Can you please explain what behaviour you're seeing, and how it differs from the behaviour you expect to see. Being vague about your problems won't help anyone to help you.
I'm surprised this code even compiles. You've declared x to be an array of int, but your functions are defined to take an array of int*. Furthermore, in your function calls on lines 21, 24, 27, you're actually passing in a pointer to the array, whereas your functions are defined to take the array itself (by value).
Does your compiler not give you an error about those function calls?
Also, your avg, min and max functions don't return any values to the calling code.
Also, it would help you a lot if you'd adopt a sensible indentation style. That well help you see the flow of control through your code much more easily, helping you spot errors. It will help anyone else looking at your code, too.
A bit of whitespace between your function definitions would help, too.