58. Serial Data Manupulation

Question.6

What will be printed on the Serial Monitor when the following code is executed and the user inputs "true"?

void setup() {
  Serial.begin(115200);
}
void loop() {
  bool value1 = true;
  bool value2 = HIGH;


  Serial.print(value1);
  Serial.print(',');
  Serial.println(value2);
  while(1);
}



 

Select Answer