What 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[i].name&e.[i].sal));
}
The error is we 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[i].name&e.[i].sal));
}
Output:-
Floating Point formats not linked.