S
sandeep
What error do you get in this?
main()
{
struct emp
{
char name[20];
float sal;
);
struct emp e[10];
int i;
for(i=0;i<=9;i++)
scanf("%s%f",e.name,&e.sal);
}
I got the error as : Floating point formats not linked, why?
And how to rectify this problem?
And can anybody tell me some more basics about floating point
issues.
main()
{
struct emp
{
char name[20];
float sal;
);
struct emp e[10];
int i;
for(i=0;i<=9;i++)
scanf("%s%f",e.name,&e.sal);
}
I got the error as : Floating point formats not linked, why?
And how to rectify this problem?
And can anybody tell me some more basics about floating point
issues.