Search:

Type: Posts; User: rahuls

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    7,217

    Hi tigs, Thanks for responding. However I think...

    Hi tigs,
    Thanks for responding. However I think you didnt get my question. I want to know how is the malloc function actually written in the system library. I mean what would be the...
  2. Replies
    3
    Views
    2,465

    Managing a heap using an array.

    Can anyone suggest any ideas to write functions to manage a heap using an existing array.
    Any ideas, any info about what exactly heap is and how is works?
  3. Replies
    8
    Views
    4,529

    Thanks

    Hey Entropic,
    Thanks a lot for the code and the explanation.
  4. Replies
    8
    Views
    4,529

    power of 2? without loops or recursion

    Hi,
    I read this question somewhere and also found its answer on the web but couldnt figure it out. can anyone pls enlighten me:

    Ques:
    Test if an unsigned integer is a power of two without loops...
  5. Replies
    1
    Views
    4,405

    Code to test if a tree is balanced

    Hi,
    I am trying to write code to test if a tree is balanced.
    The function will take a pointer to the root node of the tree and will have to figure out if the tree is balanced.
    The tree is a normal...
  6. Replies
    5
    Views
    7,217

    Implement malloc()

    Hi,
    Can anyone suggest any idea or some C code to implement malloc function. The point is how will you find the amount of memory present in the heap and allocate it.
    Please try to explain the code...
Results 1 to 6 of 6