Home » C Programming » Structures, Unions, Enums

Point out the error in the program? #include<stdio.h> int 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); return 0; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!