Home » C Programming » Unions » Question
  1. Which member of the union will be active after REF LINE in the following C code?
    #include <stdio.h>
    union test
    {
    int n;
    float fl;
    char ch;
    };
    union test t = {11,12.25,’N’}; //REF LINE
    1. n
    2. fl
    3. ch
    4. Such declaration are illegal
    5. None of these
Correct Option: A

n



Your comments will be displayed only after manual approval.