презентации!)
#define _CRT_SECURE_NO_WARNINGS
#include
#include
struct Node {
int data;
struct Node * next;
};
struct
Node * first = NULL;void printList() {
struct Node * ptr = first;
while (ptr != NULL) {
printf("(%d) -> ", ptr->data);
ptr = ptr->next;
}
printf("NULL\n");
}