Preprocessor directive doubt

Status
Not open for further replies.

Murugesh_89

Full Member level 5
Joined
Nov 23, 2012
Messages
266
Helped
7
Reputation
12
Reaction score
6
Trophy points
1,298
Location
India
Visit site
Activity points
3,267
Hi here,


Code C - [expand]
1
2
3
4
5
6
7
#include<stdio.h>
#define max 100
int main()
{
    printf("max is %d", max);  
    return 0;
}



Why the max inside "" is not replaced.
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…