Using Macros Find Area and Perimeter of Triangle, Square, Circle: C Program

Опубликовано: 13 Октябрь 2024
на канале: Technotip
2,524
26

https://technotip.com/8706/using-macr...

Problem State: Write macro definitions with arguments for calculation of area and perimeter of a triangle, a square and a circle.

Store these macro definitions in a file called “areaperi.h”. Include this file in your program, and call the macro definitions for calculating area and perimeter for different squares, triangles and circles.

C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programm...

C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programm...