Nguyễn Trà
New member
What is the output of the following program?
A. “This is the sentence”
B. “This is the ARDUINO SKETCH”
C. “This is the Arduino Sketch”
D. null
Code:
void setup() {
String my_str = "This is the sentence";
Serial.begin(9600);
my_str.replace("sentence", "Arduino sketch");
Serial.println(my_str);
}
void loop() { }
B. “This is the ARDUINO SKETCH”
C. “This is the Arduino Sketch”
D. null