title: How to compare *(void*) in С?
body: <p>I have two variables of the type <code>void*</code> and size of type which is in <code>void*</code>.</p>
  <pre><code>int function(void* p1, void* p2, int size) {
    if (*p1 &gt; *p2) {
      return 0;
    } else {
      return 1;
    }
  }
  </code></pre>
  <p>How I can compare this the memory of which indicates pointers, or it's imposible, when I don't know types (double/int)?</p>