LogiQuest
Back to Functions
7

What will be the output of the program?

#include <iostream>
using namespace std;
void show(int x) { cout << "int"; }
void show(char x) { cout << "char"; }
int main() {
    show('a');
    cout << endl;
    return 0;
}
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.