list.cc
/* Prepend a node with value VAL to the list HEAD.  */
Prepend a node with value VAL to the list HEAD.
Prepend a node with value VAL to the list HEAD .
static void
prepend (node **head, int val)
{
  *head = new node{val, *head};
}
static void prepend ( node * * head , int val ) { * head = new node { val , * head } ; }
Prepend a node with value VAL to the list HEAD.
Prepend a node with value VAL to the list HEAD .