Telegram Group 🔥🔥🔥 Get answers in minutes
Questions answered : 48 /50
+ 4981 more
Answer verified

Which of the following statements correct about the below program
#include<stdio.h>

int main()
{
struct emp
{
char name[25];
int age;
float sal;
};
struct emp e[2];
int i=0;
for(i=0; i<2; i++)
scanf("%s %d %f", e[i].name, &e[i].age, &e[i].sal);

for(i=0; i<2; i++)
scanf("%s %d %f", e[i].name, e[i].age, e[i].sal);
return 0;
}

🗓 Oct 6, 2024

View Answer

Comments and Discussions

You don't need to login to post your comment

Comments:
30
Views:
60k
Likes:
120k
votes
Allison 🌐 India
Cool if had answer
Was this answer helpful?
votes
Deeksha 🌐 India
Can anyone please help me with the explanation?
Was this answer helpful?

Was your question answered?

Want to get famous? 📸

Answer question and get 🤩 high-lighted on our homepage.

© 2017-2022 Foxoyo™
All rights reserved.

Facebook Connect with us