Lesson 8.
This commit is contained in:
15
08/test.cpp
Normal file
15
08/test.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef __x86_64__
|
||||
#define __x86_64__ 0
|
||||
#endif
|
||||
|
||||
|
||||
int main() {
|
||||
printf("x86_64: %d\n", __x86_64__);
|
||||
printf("arm64: %d\n", __arm64__);
|
||||
printf("macOS: %d\n", __MAC_13_0);
|
||||
int a=0;
|
||||
printf("%d", 5/a);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user