Algorithm of C language to find the kth element of a single chain list
The complete source code of the algorithm for finding the k-th element of the single-chain list in C language (definition, implementation, main function test)
#include <iostream>
struct Node {
int data;
Node * next;
Node(int d) : data{
d