Home / C Programming / Structures, Unions, Enums :: Yes / No Questions

C Programming :: Structures, Unions, Enums

  1. Can a structure can point to itself?

  2. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. If a char is 1 byte wide, an integer is 2 bytes wide and a long integer is 4 bytes wide then will the following structure always occupy 7 bytes?

     struct ex
     {  
        char ch;   
        int i;    
        long int a; 
    }; 
    

  4. A.

    Yes

    B.

    No

    View Answer

    Workspace

    Discuss Discuss in Forum