Macro usage
Macro Usage
1. Never define something as
#define neg -1
Instead use
#define neg (-1)
Do it yourself
Guess the output of the following program
#define + s
main(){
}
Macro Usage
1. Never define something as
#define neg -1
Instead use
#define neg (-1)
Do it yourself
Guess the output of the following program
#define + s
main(){
}