Point out the error if any in the program on GCC compiler?
Practice Structures, Unions, Enums –
Point out the error if any in the program on GCC compiler?
#include <stdio.h>
int main() {
struct emp {
char n[20];
int age;
};
struct emp e1 = {"Dravid", 23};
struct emp e2 = e1;
printf("%d",e2.age);
return 0;
}