0
void
Are these two same? //First one: void printSomething(int x=42) { cout<<x; } //Second one: void printSomething() { int x=42; cout<< x; }
1 Odpowiedź
Are these two same? //First one: void printSomething(int x=42) { cout<<x; } //Second one: void printSomething() { int x=42; cout<< x; }