Skip to content

Latest commit

 

History

History

0x0D-preprocessor

0x0D Preprocessor

Description

Introduction to preprocessing.

Tables of contents

Files Description
0-object_like_macro.h Create a header file that defines a macro named SIZE as an abbreviation for the token 1024.
1-pi.h Create a header file that defines a macro named PI as an abbreviation for the token 3.14159265359.
2-main.c Write a program that prints the name of the file it was compiled from, followed by a new line.
3-function_like_macro.h Write a function-like macro ABS(x) that computes the absolute value of a number x.
4-sum.h Write a function-like macro SUM(x, y) that computes the sum of the numbers x and y.

Student Name

Joseph Kakai

Email: [email protected]