Hello I'm new in C/C++ and I don't why the following structure has a pointer in the function name.
struct node *pop(struct node *p, int *value)
struct node *temp;
printf(" The stack is empty can not pop Error\n");
*value = p->data;
temp = p;
p = p->link;
Can someone can tell me why the pop function has a pointer.
Enjoy your life
Re: function Pointer
Bcoz Fuction Pop is returning a pointer of type struct node
|All times are GMT +5.5. The time now is 00:54.|