0x01-variables_if_else_while
0x02-functions_nested_loops
0x04-more_functions_nested_loops
0x05-pointers_arrays_strings
0x06-pointers_arrays_strings
0x07-pointers_arrays_strings
0x13-more_singly_linked_lists
Folders and files Name Name Last commit message
Last commit date
parent directory Jul 19, 2021
Jul 19, 2021
Jul 19, 2021
Jul 19, 2021
Jul 19, 2021
Jul 19, 2021
Jul 19, 2021
Jul 19, 2021
Jul 19, 2021
Jul 19, 2021
View all files
Object-like Macro : A header file that defines a macro named SIZE
as an abbreviation for the token 1024
.
Compile the code this way: gcc -Wall -pedantic -Werror -Wextra -std=gnu89 0-main.c -o a
Pi : A header file that defines a macro named PI
as an abbreviation for the token 3.14159265359
.
Compile the code this way: gcc -Wall -pedantic -Werror -Wextra -std=gnu89 1-main.c -o b
File name : A program that prints the name of the file it was compiled from, followed by a new line.
You are allowed to use the standard library.
Compile the code this way: gcc -Wall -pedantic -Werror -Wextra -std=gnu89 2-main.c -o cc
Then you can try and create a copy of 2-main
to 02-main.c
then recompile this way: gcc -Wall -pedantic -Werror -Wextra -std=gnu89 02-main.c -o cc
Function-like macro : A function-like macro ABS(x)
that computes the absolute value of a number x
.
Compile the code this way: gcc -Wall -pedantic -Werror -Wextra -std=gnu89 3-main.c -o d
SUM : A function-like macro SUM(x, y)
that computes the sum of the numbers x
and y
.
Compile the code this way: gcc -Wall -pedantic -Werror -Wextra -std=gnu89 4-main.c -o e
You canβt perform that action at this time.