Update cv7/program.c
This commit is contained in:
		
							parent
							
								
									a9f4ebe3c8
								
							
						
					
					
						commit
						9a18acc846
					
				| @ -14,7 +14,7 @@ Node* createNode(char *text) { | ||||
|     Node *newNode = (Node*)malloc(sizeof(Node)); | ||||
|     if (!newNode) { | ||||
|         printf("Помилка виділення пам'яті.\n"); | ||||
|         exit(1); | ||||
|         exit(0); | ||||
|     } | ||||
|     newNode->question_or_answer = strdup(text); // Копіюємо текст у вузол
 | ||||
|     newNode->yes_branch = NULL; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user