Ask Question
7 December, 03:08

Look at the following structure declaration.

struct Employee

{

string name;

int idNum;

};

In this declaration, Employee is

A.

a member

B.

a tag

C.

an array

D.

None of the above

+1
Answers (1)
  1. 7 December, 04:40
    0
    B. a tag

    Explanation:

    In the structure definition given below:

    struct Employee

    {

    string name;

    int idNum;

    };

    Employee corresponds to the tag of the structure. The tag is used to create additional instances of the structure. For example:

    struct Employee e1;

    struct Employee e2;

    name and idNum are members of the Employee structure and are referenced using the dot notation. e. g.,

    struct Employee e1;

    e1. idNum=1;
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Look at the following structure declaration. struct Employee { string name; int idNum; }; In this declaration, Employee is A. a member B. a ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers