deepakyadav1830
BAN USER
Questions (3)
Comments (3)
Reputation 10
- 0of 0 votes
AnswersWAP to reverse the bits in integer (inplace)!!!
- deepakyadav1830 in United States
e.g i/p: 1011 o/p 1101| Report Duplicate | Flag | PURGE
C - 0of 0 votes
AnswersWAP which print its source code as its output!!!:)
- deepakyadav1830 in United States| Report Duplicate | Flag | PURGE
C
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
yes answer is correct but why ??
- deepakyadav1830 June 29, 2012Comment hidden because of low score. Click to expand.
0
of 0 vote
what do u meant by short circuiting ??? what abt prcedence of operators??
- deepakyadav1830 June 29, 2012Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
But tell me if unary operators have the highest precedence among all (actually second highest)....then why here we are bothering about "&&" or "||"......first unary operators should be evaluated.... according to ur explanation answer is right but how ??? why we are not evaluating unary operators first ????
- deepakyadav1830 June 29, 2012second thing in denis and ritchie ANSI C it is given that if their are to expressions f(x) and g(x) in a bigger expression then its not fixed that which of the "f()" or "g()" will be evaluated first.........what exactly it means and if it is so then why we bother about precedence and associativity in evaluating an expression.... clarify it with example