employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

Write a program to print all the pairs in array

Interview Answer

Anonymous

Dec 13, 2024

Its a simple code just put two nested for loop. Inner loops start from j=i+1 position and print the the elements at i th and j th position in inner loops.