Learners Only

Showing posts with label #define. Show all posts
Showing posts with label #define. Show all posts

Saturday, 25 February 2012

Frequently Asked Questions in Technical Round at MNCs like TCS, WIPRO, INFOSYS,..etc – 11

Predict the output or error(s) for the following:


1)

main()

{

int k=1;


printf("%d==1 is ""%s",k,k==1?"TRUE":"FALSE");


}

Answer:

1==1 is TRUE


Explanation:
Read more »
Posted by Unknown at 16:30 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: #define, C-Language, Campus Interviews, Campus Preparation, conditional operator, leap year or not, stringization, typedef
Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2013 (42)
    • ▼  March (1)
    • ►  February (21)
    • ►  January (20)
  • ►  2012 (94)
    • ►  December (6)
    • ►  November (7)
    • ►  October (10)
    • ►  August (2)
    • ►  May (2)
    • ►  March (11)
    • ►  February (29)
    • ►  January (27)
  • ►  2011 (189)
    • ►  December (23)
    • ►  November (76)
    • ►  October (80)
    • ►  September (10)

About Me

Unknown
View my complete profile
Simple theme. Powered by Blogger.