Re: [algogeeks] Query: Function returning void pointer

2011-11-22 Thread Akash Coder
ya void * malloc(void * ptr) since void * is generic pointer,it can converted to pointer of any type and vice versa On Tue, Nov 22, 2011 at 1:28 PM, Anika Jain anika.jai...@gmail.com wrote: yes.. On Tue, Nov 22, 2011 at 1:23 PM, Aniket aniket...@gmail.com wrote: Can a function return a

Re: [algogeeks] function overloading query

2011-11-20 Thread Akash Coder
no it wont work ... const is not a datatype. its a qualifier On Sun, Nov 20, 2011 at 7:49 PM, rahul sharma rahul23111...@gmail.comwrote: void fun(char *) void fun(const char *) is this overloading works or these are same type of arguments?? -- You received this message because you

Re: [algogeeks] function overloading query

2011-11-20 Thread Akash Coder
that the value at the address wont be altered inside the function.That has nothing to do with calling, On Sun, Nov 20, 2011 at 9:50 PM, rahul vatsa vatsa.ra...@gmail.comwrote: yes, it will work. On Sun, Nov 20, 2011 at 9:12 PM, Akash Coder akash.coder.g...@gmail.comwrote: no it wont work

Re: [algogeeks] Silly question

2011-11-20 Thread Akash Coder
yup... solve new varieties of problem... u will get used to it On Sun, Nov 20, 2011 at 11:09 PM, amrit harry dabbcomput...@gmail.comwrote: i have a silly question to ask. im gud in ALGO and gud in DATA STR. but i can solve a problem if i know the algorithm or if earlier faced it. i can't