Welcome Guest | Sign in | Register
Preprocessor Directives - Discussion Page For Q.10598 | 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 is the output of following C code?
#define f(g,g2) g##g2
main()
{
int var12=100;
printf("%d",f(var,12));
}
A. 100 B. 12
C. 112 D. 0

Answer and Explanation

Answer:100

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.