Search:

Type: Posts; User: am2007

Search: Search took 0.00 seconds.

  1. How do you decide whether to use templates or overloaded function

    Folks,

    Could anyone help me understand how do you decide whether to use templates or overloaded function? I was asked this question in an interview and couldn't answer. This is the scenario:
    ...
  2. Replies
    3
    Views
    4,034

    Help with functions

    Hi,

    Thanks for your help. Just wondered if you are returning a locally declared pointer (array)?

    Also, these questions should be viewed in the context of the ones that you've already answered....
  3. Replies
    3
    Views
    4,034

    Help with functions

    Could you please help me with the following:

    Correct the problems with this function, and then extend it so that it also returns a usable array of pointers to some structures.

    The extended...
  4. Thread: C Questions

    by am2007
    Replies
    1
    Views
    1,119

    C Questions

    Can anyone help me with the following code and the questions that follow it?



    LINE Contains
    50 char * b, q, *r;
    200 b=getbuf();
    201 q = *b;
    212 r= anotherfunction(b);...
Results 1 to 4 of 4