N
neha
hi
Its been Given that Which error are you likely to get when you run the
following program?
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);
}
The answer given is Floating point formats are not linked.
so why this error will come ?
Its been Given that Which error are you likely to get when you run the
following program?
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);
}
The answer given is Floating point formats are not linked.
so why this error will come ?