I have a function as given below:
void deleteNode ( node **my_head, int t_data )
{
typedef (*my_head) head;
}
I want to have an alias for the value of the double pointer (*my_head). While compiling I get the following error:
<error: expected '=', ',', ';', 'asm' or '__attribute__' before 'head'>
I do have a workaround but I still need to make this work. Can anyone please help me out with this!!
node * head = *my_head?