Question: 19 If an array is declared as arr[4] (20, 30, 50) then what is the value of arrf4 (a) 50 c) 20 (b) 0 (d)
19 If an array is declared as arr[4] (20, 30, 50) then what is the value of arrf4 (a) 50 c) 20 (b) 0 (d) none of the above 20 Array name is a pointer (b) false (a) true (c) none of the above 21 How to pass the entire array arrt4] to a function (b) arr (d) none of the above (c ) &arrl1] 22 What is the output of this C code? int i0 while (++i) printf(H (a) H (c ) H is printed infinite times (b) h d) compile error 23 1. Which data structure is defined as a collection of similar data elements? b) Structs d) Graphs (a) Arrays (c) Trees The value 132.54 can represented using which data type? (a) int (c) float 24 (b) char (d) none 25 Which of the following is a valid variable name (a) ptr.data (b) char d) %number (c) grade 26 Where a memory located for local variable 27 To declare an integer variable called "id" in C language we do the following 29 what are the possible values of local variable of type char 30 A pointer variable can hold (b) stack (a) heap (c) cache memory(d) none (a) float id (c) char ID (b) int ID (d) none (b) 'c (d) a and c answers (c) "troy (a) string (b) integer (d) b and c answers address A pointer variable (a) heap can point to the (b) stack (d) a and b answers cache me 32 Where does C program locate memory for data storage (a) heap (c) a and b answers (b) stack (d) data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
