Question:

According to the C++11 standard, what is the output of this program?

#include 

void f(int) { std::cout << 1; }
void f(unsigned) { std::cout << 2; }

int main() {
  f(-2.5);
}

 

Answers:


Keywords:

© 2017 QuizBucket.org