Question d’entretien chez Cognizant

Write program to Reverse The String?About the socket concept