Suppose you create a structure that has an integer field called partNum ; Next, you create an array of ten elements of objects of this structure. Which of the following is a correct way to access the first element of the array?
A) (part.partNum) [0]
B) part.partNum[0]
C) part.[0]partNum
D) part[0].partNum
Correct Answer:
Verified
Q7: You can determine the size of variables
Q8: Which of the following statements produces the
Q8: Which of the following statements produces the
Q9: When you assign one pointer to another,
Q11: Complete the following program, which displays all
Q13: You can use a variable to declare
Q14: _ arrays are corresponding arrays in which
Q15: In C++, the first element in any
Q16: _ is a string constant.
A) 'H'
B) '\n'
C)
Q17: If you create a firstName string and
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents