0
What is the output of the following C++ program?
#include <iostream>
using namespace std;
void f(int) { cout << "I"; }
void f(double) { cout << "D"; }
int main() {
f('a'); f(3.5f); f(2);
return 0;
}- ADDI
- BIID
- CIDI
- DIII
Correct answer: C