Mr Pakistani Programmer

What is the value of 'y' following C++ code?
int x = 5;

int y = (x > 10) ? 2 : 4;

2 years ago | [YT] | 0