2. What will be the result of:
int f(int a) { return ++a; }
int f(unsigned int a) { return --a; }
cout << f(5);
A. Undefined behaviour
B. I don't know
C. Compiler error
D. 6
E. 5
F. 4
int f(int a) { return ++a; }
int f(unsigned int a) { return --a; }
cout << f(5);
A. Undefined behaviour
B. I don't know
C. Compiler error
D. 6
E. 5
F. 4