Question.5
A developer tries to switch a reference between two sensor channels:
int ch1 = 100, ch2 = 200; int &active = ch1; active = ch2; // Trying to rebind to ch2 printf("%d %d %d", ch1, ch2, active);
What is the output?
Select Answer
200 200 200
100 200 100
100 200 200
Compilation error