EXL Service Interview Question

based on C and SQL