Oculus rift s or oculus quest

Hi, i am a noob. I am planning to develop games for oculus rift and oculus quest. I want to know which devise I should buy. I have two questions

  1. in unreal engine, can I use my oculus quest to develop oculus rift games (pc games)?
    2…in development of oculus quest games, can i test my game/ project in my oculus quest without being connected to pc?