praveenkumar450
Newbie level 5
- Joined
- Jul 2, 2014
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Location
- Hyderabad, Andhra Pradesh, India
- Activity points
- 55
program 1
program 2
And the question is
in the first program 1 i had
mentioned my company AGE using variable x with #define preprocessor directive
finally x value is getting
so, now the thing is what happen when iam including #include <stdio.h>
preprocessor directive how the x value is finalizing and why ?
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 #include <stdio.h> #define AGE (14 / 2) int main() { int x; x=AGE; printf("think embedded is over %d years old.\n", x); return 0; }
program 2
And the question is
in the first program 1 i had
mentioned my company AGE using variable x with #define preprocessor directive
finally x value is getting
so, now the thing is what happen when iam including #include <stdio.h>
preprocessor directive how the x value is finalizing and why ?
Last edited by a moderator: