[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Interview Questions and Answers :: Radisys

12. Given a sorted array, write a function void findsum(int [],int x) that can print out all possible pair of elements in array that can make a sum equal to x.
Ex: int num[10]={-5,1,6,7,9,9,20,25,31,45} & if x is 26, then function should print {1,25}, {25,1}, {-5,31}, {31,-5}.

Answer:

No Discussion on this question yet!

Post Your Answer Here:      Public      Private

No Discussion on this question yet!