#include <stdio.h>

#include <stdlib.h>


typedef struct DlistNode {

    int data;

    struct DlistNode *rlink;

    struct DlistNode *llink;

} DlistNode;


void display(DlistNode *head)

{

    DlistNode* p = head->rlink;


    while (p! = head){

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

        p = p->rlink;

    }

    printf("\n");

}


list_print.c: In function ‘display’: list_print.c:14:13: error: expected ‘)’ before ‘!’ token while (p! = head){ ^


왜 안되는거야 씨발 형들?