A process is in New State when it is newly created. When a new process is created it's physically stored on Secondary memory.So a process in New State is present in Secondary memory.
A process in ready state when it is loaded into primary primary and is either waiting for I/0 or it can be excuted by prempting a process which is running state.
So a.out which is resided on Secondary memory is in New State. And when we ran it runs through other states of a state.
Correct me if iam wrong. Hope it helps.