Question #46: What value gets printed by the program? 64% on 1018 times asked
#include <iostream> int foo(int x, int y = x) { return x+y+1; } int main(int argc, char** argv) { std::cout << foo(2) << std::endl; return 0; }