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