#include <stdio.h>
#include <stdlib.h>

struct Node {
    int data;
    struct Node* next;
};

int main() {
    struct Node* head = (struct Node*)malloc(sizeof(struct Node));

    if (head == NULL) {
        printf("Memory allocation failed\n");
        return 1;
    }
    head->data = 10;
    head->next = null;

    printf(" %d->", head->data);
    printf("%p", head->next);

    free(head);
    return 0;
}