Ask Question
27 November, 12:39

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?

+2
Answers (1)
  1. 27 November, 15:44
    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?
Find 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 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