What will be the output of the following code?
#include <iostream>
int main() {
int x = 15, y = 10;
std::cout << ((x <= 15) ? "A" : "") << ((y == 10) ? "B" : "C");
return 0;
}What will be the output of the following code?
#include <iostream>
int main() {
int x = 15, y = 10;
std::cout << ((x <= 15) ? "A" : "") << ((y == 10) ? "B" : "C");
return 0;
}Create a free account to access the full topic