Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Want to check if my answers are correct. QUESTION 1 All the following statements

ID: 3714191 • Letter: W

Question

Want to check if my answers are correct.

QUESTION 1 All the following statements are true, except: Structs are made up of members or fields. Members of structs can only be primitive data types. Members of structs can be accessed, using the name of a struct variable and the "." access operator, followed by the member name. An array, in which each element is a struct, is possible. QUESTION 2 Which one of these statements is false: Arrays can contain strings as elements. A function cannot change the dimensions of a two-dimensional array that is passed as a parameter, Elements of different columns in a two-dimensional array can have different types. Arrays are composite data types.

Explanation / Answer

Q1.

b. Members of structs can only be primitive data types. This is false. A struct can have even another struct as a data member

Q2.

c. Elements of different columns in 2d array can have different Types. This is false. All the elements in the 2d array must be of same data type