I'm trying to test if the value stored in a particular memory address is NULL, I have this and in debug it's showing the char value in that address as '\0'. Yet it's always skipping over this IF statement.
Is this the right syntax to use? I have ensured that the address is set to null.
if (test->address + length == NULL)
{
..code..
}
NULLis a null pointer,'\0'is a null character.address?