A world of Programming- Gsbprogramming
By Er Gurpreet Singh, Senior Software Engineer, Sopra Steria India
Labels
ASP.NET
About
C#
C&Cpp
CSS
GK
JQuery
Java
Java EE
Notes
OS
Oracle apps
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