c++ ques..!!

difference between #definePI 3.142 and #defineSQUARE(x)x*x ?
One is a define (the PI one), which is usually used for storing constants or keywords.

The other is a macro, which is usually used for statements or expressions.
Topic archived. No new replies allowed.