Ask Question
27 March, 17:52

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?

+5
Answers (1)
  1. 27 March, 18:07
    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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers