Question.1
A 6-element sensor log buffer is initialized with {100, 200, 300, 400, 500, 600}. A developer writes new readings to the first 3 positions:
for (int i = 0; i < 3; i++) {
buf[i] = new_readings[i]; // new_readings = {15, 25, 35}
}What does buf contain after this loop?