#include<iostream>
#include<conio.h>
#include<string.h>
#define OK 1
#define MAXSIZE 100
using namespace std;
typedef int Status;
#define OK 1
typedef struct
{
char name[5];
float price;
}Book;
typedef struct LNode
{
Book Elem;
LNode *next;
}LNode,*List;
Status InitList(List L)
{
L=new LNode();
if(!L)
exit(-1);
else
(*L).next=NULL;
return OK;
}
int main()
{
LNode L;
List LL;
InitList(LL);
cout<<(*LL).next;
getch();
return 0;
}
请问初始化后,为何溢出呢?