Jump to content
You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality.
Dio
According to the C++17 standard, what is the output of this program?
#include <iostream> int main() { std::cout << 1["ABC"]; }
You can help me by qualifying positively. ¡Thank you! - I hope you have a good day!
Veteran
According to the C++17 standard, what is the output of this program? #include <iostream> int main() { std::cout << 1["ABC"]; }
B
Premium Seller
ANS-
Ref-https://stackoverflo...rray-in-c-and-c
Member
It would output the character with index 1 in the array, which is B in this case
Users browsing this thread: