1. EEPROM Programming- Arduino

 What will be printed on Serial Terminal?

#include <EEPROM.h>

void setup() {
  Serial.begin(9600);
  
  // Perform 100 EEPROM write operations
  long writeStartTime = millis();
  for (int i = 0; i < 50; i++) {
    EEPROM.write(i, i);  // Writing a single byte to each address
  }
  long writeEndTime = millis();
  
  // Print the time taken for write operations
  Serial.print("Total write time: ");
  Serial.println(writeEndTime - writeStartTime);
}

void loop() {
  // Nothing in the loop
}

Select Answer