Показать сообщение отдельно
Старый 30.04.2004, 20:02     # 28
alexey_ma
Member
 
Регистрация: 10.03.2002
Адрес: Israel
Сообщения: 245

alexey_ma Нимб уже пробиваетсяalexey_ma Нимб уже пробивается
2Programmer
Вполне можно обойтись одним параметром:
Код:
Node *ReverseList(Node *current) 
{ 
	Node *temp; 
	if(current->next==NULL) 
		temp= current; 
	else 
	{ 
		temp = ReverseList(current->next); 
		current->next->next=current;
		current->next=NULL;   
	} 
	return temp; 
}
__________________
Best Regards
alexey_ma вне форума