What is the output of the following program ?


Loading

โœช Choose the correct option.

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);

}

A. 3 hello
B. Garbage value hello
C. 3 Garbage Value
D. Compiler Error