Search:

Type: Posts; User: multimeter

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,648

    checking programm break with sbrk

    I've written this code :



    #define MAX_ALLOC 1000000
    int number = 1;
    void *ptr = NULL;

    if (argc != 2){
    controlled_exit( "you have to give 1 argument" );
  2. Replies
    1
    Views
    2,746

    pointer confusion

    Hey,

    I need a little help with pointers or maybe a good reference.

    I have this code:


    char *foo(char* temp){
    return temp;
    }
Results 1 to 2 of 5