A world of Programming- Gsbprogramming
By Er Gurpreet Singh, Senior Software Engineer, Sopra Steria India
Labels
About
ASP.NET
C&Cpp
C#
CSS
GK
Java
Java EE
JQuery
Notes
Oracle apps
OS
Others
PL/SQL
Programming Quiz
SQL
Sunday, 4 January 2015
Programming Quiz-56
const int perplexed = 2;
#define perplexed 3
main()
{
#ifdef perplexed
#undef perplexed
#define perplexed 4
#endif
printf(“%d”,perplexed); }
a. 0
b. 2
c. 4
d. none of the above
Answer: C
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment