Join ExamsbookAnswer :
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[i].name, &e[i].sal );
}5
Q: 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[i].name, &e[i].sal ); }
- Show AnswerHide Answer
- Workspace
Answer :
Explanation :
Floating point formats not linked