lewis_therin
BAN USER
Comments (4)
Reputation 5
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
I have the same doubt as deepak yadav. Its true that their would be short circuiting. But still unary operators come first and y and z would be incremented
- lewis_therin June 29, 2012Comment hidden because of low score. Click to expand.
0
of 2 vote
When A said he doesnt know he means that the two guys infront of him are wearing black caps. As there are three black caps he could be wearing either black or white.
Is my logic correct?
Comment hidden because of low score. Click to expand.
0
of 0 vote
But the question doesnt say anything about array being sorted.
- lewis_therin June 27, 2012Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
If u want to sort the strings lexicographically in c++ wat i do is using custom built compare function in the available qsort standard library function.
- lewis_therin June 30, 2012