FreeRTOS - Memory Management
What will be the output of the following code snippet?
void *ptr = pvPortMalloc(50);
if(ptr != NULL) {
vPortFree(ptr);
printf("Memory freed\n");
} else {
printf("Allocation failed\n");
}