C言語 演習5-6
[crayon]/*
============================================================================
Name : ensyuu5-6.c
Author :
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#include
int main(void)
{
double a;
int b;
puts(“double a, int bの評価”);
puts(“a = b = 1.5”);
a = b = 1.5;
printf(“a = %4.1f\n”, a);
printf(“b = %4d\n”, b);
return(0);
}
[/crayon]