You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
193 B
21 lines
193 B
2 years ago
|
#include <iostream>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
void f(int);
|
||
|
//void f(int,int=2);
|
||
|
|
||
|
int main(){
|
||
|
f(2);
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void f(int x){
|
||
|
cout << x << endl;
|
||
|
}
|
||
|
|
||
|
void f(int x,int y){
|
||
|
cout << x << endl;
|
||
|
}
|