SolarWinds Interview Question

They asked to write code for I/O operation.