title: Argument without type in C
body: <p>I am fairly new to programming languages and wonder if it is possible to pass an argument without specific type to a function. For instance I have the following piece of code that defines a funcion <code>add</code> that will take a block of memory, check it if is filled via another function, and then adds an element to the list related to that block of memory.</p>
  
  <p>This element can be an int, a float or a char. So I would like to write:</p>
  
  <pre><code>add(arrs1,20); //or also
  add(arrs2,'b'); //or also
  add(arrs3, 4.5);
  </code></pre>
  
  <p>Where arrs# are defined by <code>struct arrs arrs#</code>, and they refer to arrays of either floats, ints or chars but not mixed. How could I accomplish this?</p>
  
  <pre><code>int add(arrs list, NEW_ELEMENT){//adds NEW_ELEMENT at the end of an arrs
    int check_if_resize;
    check_if_resize=resize(list, list-&gt;size + 1);
    list-&gt;ptr[list-&gt;used++] = NEW_ELEMENT;
    return check_if_resize;
  }
  </code></pre>
  
  <p>I appreciate your help.</p>