format specifier for different datatypes in c code example Example: double data type format in c %lf you can try