1. 

size of union is size of the longest element in the union

A. Yes
B. No

2. 

The elements of union are always accessed using & operator

A. Yes
B. No

3. 

Will the following code work?

#include<stdio.h>
#include<malloc.h>

struct emp
{
    int len;
    char name[1];
};
int main()
{
    char newname[] = "Rahul";
    struct emp *p = (struct emp *) malloc(sizeof(struct emp) -1 +
                    strlen(newname)+1);

    p->len = strlen(newname);
    strcpy(p -> name, newname);
    printf("%d %s\n", p->len, p->name);
    return 0;
}

A. Yes
B. No

4. 

If the following structure is written to a file using fwrite(), can fread() read it back successfully?

struct emp
{
    char *n;
    int age;
};
struct emp e={"IndiaMax", 15};
FILE *fp;
fwrite(&e, sizeof(e), 1, fp);

A. Yes
B. No

5. 

A pointer union CANNOT be created

A. Yes
B. No