#include<iostream.h>
#include<conio.h>
void show(int a)
{
cout<<"int - "<<a<<endl;
}
int main()
clrscr();
show(5); //Exact Match
show('k'); //promotion
show(6.7); //coversion
//show(); //No Match - Error
getch();
return 0;
No comments:
Post a Comment