this is not in the today's syllabus
instead we can write a c program for computing product of all the elements in a linked List
int calculate(Node *head){
Node *temp = head;
int product = 1;
while(temp!=Null){
product*=temp->data;
temp=temp->next;
}
return product;
}
cheers :)