#include <stdio.h>
int main(void)
{
int integerVar = 100;
float floatingVar = 123.79;
double doubleVar = 1.23e+11;
char charVar = 'W';
printf("integerVar = %i/n", integerVar);
printf("floatingVar = %f/n", floatingVar);
printf("doubleVar = %e/n", doubleVar);
printf("doubleVar = %g/n", doubleVar);
printf("charVar = %c/n", charVar);
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/266531.html