blob: abff8de4978645d169ea59bb892d1945d7b1eec9 (
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;
}
}
|