Moved cond.c to folder LC21
This commit is contained in:
11
Appendix1/DebugAssertion/DebugAssertion.c
Normal file
11
Appendix1/DebugAssertion/DebugAssertion.c
Normal file
@@ -0,0 +1,11 @@
|
||||
# define NDEBUG
|
||||
#include <stdio.h>
|
||||
# include <assert.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
int x = 7;
|
||||
assert (x==5);
|
||||
printf("x = %d\n", x);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user