It is not advisable to switch on AC with windows closed, Once the car is parked in Scorching hot Sun. Open all the windows first.switch on AC, And move the vehicle .
After all the heat is dissipiated from car. Close all windows cooling will be much faster.
It is not advised to drive with all the windows closed, usually when the car is hot, As the dashboard is made of plastic, they form a poisonous gas in the compartment.
So open all the WINDOWS.