What is the output of the following program ?
Practice Structures, Unions, Enums – What is the output of the following program ?
#include
void main()
{
struct xx
{
int x=3;
char name[]="hello";
};
struct xx *s=malloc(sizeof(struct xx));
printf("%d",s->x);
printf("%s",s->name);
}