Type in a code to define a preprocessor macro for calculating the square of the argument. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Type in a code to define a preprocessor macro for calculating the square of the argument.

Type in a code to define a preprocessor macro for calculating the square of the argument. #define SQR( x ) (x*x)

20th Nov 2020, 1:08 PM
Jason Chew
Jason Chew - avatar
2 Answers
0
#define SQR (x) (x*x)
11th Dec 2021, 4:44 PM
Medhat Mohamed Ibrahim Abu Mandour
Medhat Mohamed Ibrahim Abu Mandour - avatar
- 2
First share your practice code
25th Nov 2020, 5:05 PM
Ankit Sharma
Ankit Sharma - avatar