title: What c code would compile to something like `call *%eax`?
body: <p>I'm working with c and assembly and I've seen <code>call *%eax</code> in a few spots. I wanted to write a small c program that would compile to something like this, but I'm stuck.</p>
  
  <p>I was thinking about just writing up some assembly code like in this question: <a href="https://stackoverflow.com/questions/8419161/x86-assembly-instruction-call-reg">x86 assembly instruction: call *Reg</a> only using AT&amp;T syntax in my case to get a small example with the call in it. However, that wouldn't solve my burning question of what kind of c code compiles to that?</p>
  
  <p>I understand that it is a call to the address that eax is pointing to.</p>