RFID_reader:246:13: error: 'null' was not declared in this scope
if ( a != null ) // Make sure there is something in the array first
^~~~
exit status 1
'null' was not declared in this scope
If you declare an array, then you can initialize it to contain certain values. There should be no confusion about whether an array "contains anything", since you are in control.
A standard C / C++ array will always contain SOMETHING ... even if it's random / garbage data. The storage space has been allocated, it can't contain NOTHING!