in Programming in C
322 views
0 votes
0 votes

I have a doubt in it..In the question they already send the parameter a = 0 , b = (n-1) , int x --> the elements that have to be find

but if(a<b) // holds true so it return -1 right ???

 

in Programming in C
by
322 views

4 Comments

yeah correct  @goxul
0
0
Its a typo..B would be correct only when a>b.
0
0
yes, ACE test has many typos and that makes confusion :(
0
0

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
1 vote
1 vote
0 answers
2
Nils asked in Databases Nov 13, 2017
163 views
Nils asked in Databases Nov 13, 2017
by Nils
163 views