title: Create a C function that accepts parameters of different data types
body: <p>I'm relatively new to the C programming language, and I'm trying to figure out how to create a function that can accept different types of data as parameters. The function is supposed to count and return the number of elements in a character or integer array. I already have two separate functions that will do this, but I would really like to be able to use one function for both tasks. Is there a way to do this in C?</p>
  
  <p>Thanks in advance!</p>