Results 1 to 3 of 3

Thread: array problem

Threaded View

  1. #1

    Thread Starter
    New Member A_S_I_lepy's Avatar
    Join Date
    Jul 2008
    Location
    huh!
    Posts
    6

    array problem

    hi every one

    is this even correct ? (would there be any memory problem ?)

    Code:
    void **se;
    se = (void **) malloc(sizeof(*se) * 2);
    if this is correct then how will I find the length of the "se" in future ?

    thanks in advance
    Last edited by A_S_I_lepy; Jul 30th, 2008 at 02:22 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width