blob: 7a8c08f3357d9d1a267bbfa2790c9c7365a44ef6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
int main(int argc, char** argv)
{
switch (argc)
{
case 1:
// return the number unchanged
return 1;
case 2:
// fall through
case 3:
return 5;
default:
return 10;
}
}
|