Learners Only
Showing posts with label
conditional operator
.
Show all posts
Showing posts with label
conditional operator
.
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 »
Older Posts
Home
Subscribe to:
Posts (Atom)