Kizspy | Question: 21 (Choose 1 answer)
What is the output of the program given below if a voltage of 5V is supplied to the pin corresponding to the A0 pin on an Arduino UNO?
void setup() { Serial.begin(9600);
pinMode(A0, INPUT);
} void loop() {
int s = analogRead(A0);
Serial.println(s);
}
A. 0
Β. 1023
C. Null
D. Error
FUOVER