Texas Instruments interview question

Write a c program to find the eindeness of a computer.