How To Printf Double In C Code Example


Example: print double in c

#include<stdio.h>  int main() {     double d = 123.32445;      //using %f format specifier     printf("Value of d = %f\n",d);      //using %lf format specifier     printf("Value of d = %lf\n",d);      return 0; }

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable