start
#include <stdio.h>
int main(void) {
puts("0x1RIS");
return 0;
}
Output:
0x1RIS
Compile
cc -std=c2x -Wall -Wextra -Werror main.c -o main
-std=c2x selects the current draft standard in compilers that have not switched the flag name to c23
-Wall -Wextra turns on the warnings that catch real mistakes
-Werror stops you from ignoring them
What the compiler is not
The compiler does not check array bounds The compiler does not manage your allocations The compiler does not make string handling safe Those are still your job
Next
Types in 02 types
Posted