Question: 19 What is the best data structure(s) for storing the customer order information in a drive-in burger place (a) array (c) structure (b) link list
19 What is the best data structure(s) for storing the customer order information in a drive-in burger place (a) array (c) structure (b) link list (d) union 20 What is the best data structure(s) for storing a set of fixed key words (a) array (c ) structure (b) link list (d) union 21 User-defined data type can be derived by (b) union dl All of the mentioned (a) struct 1(c) typedef 22 What is the best data type for random access implementation (a) array (c) structure (b) link list (d) union 23 What type of data access can be used in link list (a) random (c) a and b answers (b) sequential (d) none of the above 24 If an array is declared as arr[50] what is the max index (a) 50 (c)51 (b) 49 (d) none of the above 25 | If an array is declared as arr[4] = {20, 30, 50) then what is the value of arr[4] (a) 50 c) 20 (b) 0 (d) none of the above 26 Array name is a pointer (b) false (a) true (c) none of the above 27 How to pass the entire array arrf4] to a function (a) arr 1] (c) &arrl] (b) arr (d) none of the above 28 Size of a union is determined by size of the (a) First member in the union (c) Biggest member in the union (b) Last member in the union (d) Sum of the sizes of all members 29 Members of a union are accessed as (a) union-name.member (c) Both a & b (b) union-pointer->member (d) None of the mentioned 30 What would be the size of the following union declaration? Assuming size of double 8, size of int - 4, size of char 1) union uTemp double ai int bi10] char ci union uTemp u i (a) 4 (c) 40 (b) 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
