Question
#include<stdio.h>
int main()
{
struct emp
{
char name[20];
float sa1;
};
struct emp e[10];
int i;
for(i=0; i
Point out the error in the program?
#include<stdio.h>
int main()
{
struct emp
{
char name[20];
float sa1;
};
struct emp e[10];
int i;
for(i=0; i
Answer: Option B
Was this answer helpful ?
At run time it will show an error then program will be terminated.
Sample output: Turbo C (Windows)
c:`setminus`>myprogram
Sample
12.123
scanf : floating point formats not linked
Abnormal program termination
Was this answer helpful ?
Submit Solution