Consider the below syntax :
#include <iostream>
int main() {
std::cout << 1["ABC"] << std::endl;
}
The program outputs B
which leads me to believe that it behaves as "ABC"[1]
. Is that possible, what is the reason behind this ?
Consider the below syntax :
#include <iostream>
int main() {
std::cout << 1["ABC"] << std::endl;
}
The program outputs B
which leads me to believe that it behaves as "ABC"[1]
. Is that possible, what is the reason behind this ?