float syntax in c code example Example 1: what is float in c float variable; Example 2: what is float in c A float is a number with a decimal point.