FreeRTOS - Memory Management
Given the following code snippet using heap_4, what will be the output if the allocation fails?
void *ptr = pvPortMalloc(1000);
if(ptr == NULL) {
printf("Allocation failed\n");
} else {
printf("Allocation succeeded\n");
}