Linked List – Arithmetic – Problem #4
IIT Kharagpur CS10001 / CS11001 Programming and Data Structures Lab Question Archive
Difficulty: easy
Problem Statement
Define a structure “node” to store a link list of integers. Write a function void make_list(node *l, int n) to read n integers and store them in a link list. Write a main program to read an integer n. Then uses make_list function to read n integers and stores them in a list l. Print the list.