-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
20 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
int switch_break_driver(); | ||
int switch_break(); | ||
|
||
int main() | ||
{ | ||
return !(switch_break_driver() == 70); | ||
return !(switch_break() == 70); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
int main() | ||
{ | ||
int a = 234; | ||
int a = 69; | ||
switch (a) | ||
{ | ||
default: | ||
|
||
case 69: | ||
return a; | ||
case 79: | ||
return a; | ||
return 70; | ||
return 70; | ||
} | ||
return 80; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,13 @@ | ||
int x = 5; | ||
int a1, a2, a3; | ||
int* yy; | ||
auto int a12; | ||
extern auto int a15; | ||
extern a20; | ||
register a50; | ||
|
||
double a = 5.5f; | ||
|
||
int getNum(); | ||
int factorial(int num); | ||
getBigNum(); | ||
dumbFactoria(int num); | ||
|
||
int main() | ||
{ | ||
if (2 > 1) | ||
int a = 69; | ||
switch (a) | ||
{ | ||
|
||
case 69: | ||
a++; | ||
break; | ||
case 90: | ||
a += 100; | ||
} | ||
|
||
if (3 > 2) | ||
{ | ||
int xxx = 10; | ||
} | ||
return 0; | ||
return a; | ||
} | ||
|
||
int getNum() { return 10; } | ||
|
||
int factorial(int num) | ||
{ | ||
if (num == 0) { return 1; } | ||
else { return num * factorial(num - 1); } | ||
} | ||
|
||
getBigNum() { return 100; } | ||
dumbFactorial(int num) | ||
{ | ||
return num == 0 ? 1 : num * dumbFactorial(num - 1); | ||
} |