what is float in c programming code example Example: float in c++ float contains less storage than a double. float p = 25.0; double p = 25.0;