C语言学习2018072701

#include<stdio.h>

extern int a,b;
extern int c;
extern float f;

int main()
{
int a,b;
int c;
float f;

a=10;
b=20;

c=a+b;
printf("value of c:%d \n");

f=70.0/3.0;
printf("value of f:%f \n");

return 0;
}

value of c:-2065103096
value of f:0.000000

猜你喜欢

转载自www.cnblogs.com/catmiyc/p/9366085.html