new files
This commit is contained in:
parent
3af7344581
commit
86c034bb8b
1364 changed files with 21352 additions and 0 deletions
9
Task/Assertions/C/assertions-1.c
Normal file
9
Task/Assertions/C/assertions-1.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <assert.h>
|
||||
|
||||
int main(){
|
||||
int a;
|
||||
/* ...input or change a here */
|
||||
assert(a == 42); /* aborts program when a is not 42, unless the NDEBUG macro was defined */
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue