Hard
Three increments in one call
What does this program print, or is it undefined behavior?
main.cpp
#include <iostream>
template <typename... Args>
void printAll(Args... args) {
(std::cout << ... << args) << '\n';
}
int main() {
int i = 0;
printAll(++i, ++i, ++i);
}37 of 117 in C++