Ask Question
9 August, 20:09

Suppose you have a struct type named employeeType. You have declared an array named employees with 50 elements of type employeeType. The employeeType struct has a member variable called firstName. What is the syntax for accessing the value of firstName in the first element of employees?

+4
Answers (1)
  1. 9 August, 23:58
    0
    employees[0]. firstName

    Explanation:

    The syntax would be employees[0]. firstName so that employees get registered by their first name. the [0] would be the employer number (0-50) and first name wouls store each employer's first name.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Suppose you have a struct type named employeeType. You have declared an array named employees with 50 elements of type employeeType. The ...” in 📙 Social Studies if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers