In the above circuit diagrams A is the ammeter and V is the Voltmeter. Which of the circuits is correct for finding the correct value of the resistance R

In the above circuit diagrams A is the ammeter and V is the Voltmeter. Which of the circuits is correct for finding the correct value of the resistance R