帮我看看这些问题吧
# include <stdio.h>struct Data
{
int num ;
struct Data * next ;
};
void main()
{
int i , shu ,j ;
struct Data number[10] ;
struct Data * head , * p ;
for( i = 0 ; i < 10 ; i++ )
{
number[i].num = i + 1 ;
if( 9 == i ) number[9].next = NULL ;
number[i].next = & number[i + 1];
}
head = number ;
p = head ;
do
{
printf(" %d " , p->num );
p = p -> next ;
}while( p != NULL ) ;
printf("\n");
}