FreeRTOS - Memory Management
Consider the following FreeRTOS code snippet:
What will be the output of the
void *ptr = pvPortMalloc(100);
if(ptr != NULL) {
vPortFree(ptr);
ptr = NULL;
}
printf("%p", ptr);What will be the output of the
printf statement?