Welcome Guest | Sign in | Register
Preprocessor Directives - Discussion Page For Q.10605 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Preprocessor Directives > Questions and Answers

Exercise:

Section 1

Q: What will be output if you will compile and execute the following c code?
01 #include
02 #define x 5+2
03 int main()
04 {
05 int i;
06 i=x*x*x;
07 printf("%d",i);
08 return 0;
09 }
A. 343 B. 27
C. 133 D. Compile Error
E. None of above

Answer and Explanation

Answer:27

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.