Search:

Type: Posts; User: eXeCuTeR

Search: Search took 0.01 seconds.

  1. Replies
    22
    Views
    3,311

    I know these stuff but my point is the memcpy...

    I know these stuff but my point is the memcpy gets a pointer in it's first parameter while you are passing a pointer to a pointer!
  2. Replies
    22
    Views
    3,311

    Why are you passing &n and not n? &n is a pointer...

    Why are you passing &n and not n? &n is a pointer to a pointer, isn't it?
    ---
    So what's up with (int *)&f?
  3. Replies
    22
    Views
    3,311

    Doesn't (int *)&n (assuming n is an int) supposed...

    Doesn't (int *)&n (assuming n is an int) supposed to return a pointer to a pointer (**)?
    I mean, you are casting the address of n into an int pointer - or what exactly happens if I cast something...
Results 1 to 3 of 3