C instruction address

Posted by aaa on Stack Overflow See other posts from Stack Overflow or by aaa
Published on 2010-05-30T21:41:12Z Indexed on 2010/05/30 21:52 UTC
Read the original article Hit count: 229

Filed under:
|

hello.

Disclaimer, I not do anything in particular with regards this question, just curious.

Is it possible to take address of instruction or block in C? in essence, is there jump equivalent in C?

for example:

void function() {
    int k;
    { // is a possible to go to this address from arbitrary point in code?
      int i, j;
      k += j+i;
    }
}

thank you

© Stack Overflow or respective owner

Related posts about c

    Related posts about memory