Write a program in C that uses the rand() function to create 1000 structs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write a program in C that uses the rand() function to create 1000 structs

define a struct containing 4 data types Write a program in C that uses the rand() function to create 1000 of these structs inserts them in the linked list and prints out the first 10 to the console.

7th Apr 2018, 3:50 PM
Martin Toomey
Martin Toomey - avatar
1 Answer
+ 1
why did you tag it as c# when you wanted a solution in c, or was the tag right but the description wrong?
9th Aug 2018, 9:17 AM
John
John - avatar