TCS Interview Question

Self intro They asked to write string reverse code By using 8 8’s the output should be 1000 how? Basic cn questions Basic os questions